Class: Clutter::DesaturateEffect
- Inherits:
-
OffscreenEffect
- Object
- GObject::InitiallyUnowned
- ActorMeta
- Effect
- OffscreenEffect
- Clutter::DesaturateEffect
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#factor ⇒ Float
The desaturation factor, between 0.0 (no desaturation) and 1.0 (full desaturation).
-
#factor=(factor) ⇒ Float
The desaturation factor, between 0.0 (no desaturation) and 1.0 (full desaturation).
-
#initialize(factor) ⇒ Clutter::Effect
constructor
Creates a new Clutter::DesaturateEffect to be used with clutter_actor_add_effect().
Methods inherited from OffscreenEffect
#create_texture, #get_target_rect, #get_target_size, #paint_target, #target, #texture
Methods inherited from Effect
Methods inherited from ActorMeta
#actor, #actor=, #enabled, #enabled=, #enabled?, #name, #name=
Constructor Details
#initialize(factor) ⇒ Clutter::Effect
Creates a new Clutter::DesaturateEffect to be used with clutter_actor_add_effect()
Instance Method Details
#factor ⇒ Float
The desaturation factor, between 0.0 (no desaturation) and 1.0 (full desaturation).
#factor=(factor) ⇒ Float
The desaturation factor, between 0.0 (no desaturation) and 1.0 (full desaturation).