Next: , Previous: ClutterClone, Up: Top


23 ClutterColorizeEffect

A colorization effect

23.1 Overview

<clutter-colorize-effect> is a sub-class of <clutter-effect> that colorizes an actor with the given tint.

<clutter-colorize-effect> is available since Clutter 1.4

23.2 Usage

— Function: clutter-colorize-effect-new (self <clutter-color>) ⇒  (ret <clutter-effect>)

Creates a new <clutter-colorize-effect> to be used with clutter-actor-add-effect

tint
the color to be used
ret
the newly created <clutter-colorize-effect> or ‘#f

Since 1.4

— Function: clutter-colorize-effect-set-tint (self <clutter-colorize-effect>) (tint <clutter-color>)
— Method: set-tint

Sets the tint to be used when colorizing

effect
a <clutter-colorize-effect>
tint
the color to be used

Since 1.4

— Function: clutter-colorize-effect-get-tint (self <clutter-colorize-effect>) (tint <clutter-color>)
— Method: get-tint

Retrieves the tint used by effect

effect
a <clutter-colorize-effect>
tint
return location for the color used.

Since 1.4