LayerStateEffects Class

Summary: The layer state effects.

Module: aspose.psd.fileformats.psd.layers.animation

Full Name: aspose.psd.fileformats.psd.layers.animation.LayerStateEffects

Aspose.PSD Version: 24.4.0

Properties

NameTypeAccessDescription
effectsILayerEffect[]rGets the layer effects.
is_visibleboolr/wGets or sets a value indicating whether this instance is visible.

Methods

NameDescription
add_color_overlay()Adds the color overlay effect.
add_drop_shadow()Adds the drop shadow effect.
add_gradient_overlay()Adds the gradient overlay effect.
add_inner_shadow()Adds the inner shadow effect.
add_outer_glow()Adds the outer glow effect.
add_pattern_overlay()Adds the pattern overlay effect.
add_stroke(fill_type)Adds the stroke effect.
clear_layer_style()Clears all layer style effects.
remove_effect_at(index)Removes the the layer effect at the specific index.

Method: add_color_overlay()

 add_color_overlay() 

Adds the color overlay effect.

Returns

TypeDescription
ColorOverlayEffectThe new instance of the ColorOverlayEffect class.

Method: add_drop_shadow()

 add_drop_shadow() 

Adds the drop shadow effect.

Returns

TypeDescription
DropShadowEffectThe new instance of the DropShadowEffect class.

Method: add_gradient_overlay()

 add_gradient_overlay() 

Adds the gradient overlay effect.

Returns

TypeDescription
GradientOverlayEffectThe new instance of the GradientOverlayEffect class.

Method: add_inner_shadow()

 add_inner_shadow() 

Adds the inner shadow effect.

Returns

TypeDescription
InnerShadowEffectThe new instance of the InnerShadowEffect class.

Method: add_outer_glow()

 add_outer_glow() 

Adds the outer glow effect.

Returns

TypeDescription
OuterGlowEffectThe new instance of the OuterGlowEffect class.

Method: add_pattern_overlay()

 add_pattern_overlay() 

Adds the pattern overlay effect.

Returns

TypeDescription
PatternOverlayEffectThe new instance of the PatternOverlayEffect class.

Method: add_stroke(fill_type)

 add_stroke(fill_type) 

Adds the stroke effect.

Parameters:

ParameterTypeDescription
fill_typeFillTypeThe type stroke fill.

Returns

TypeDescription
StrokeEffectThe new instance of the StrokeEffect class.

Method: remove_effect_at(index)

 remove_effect_at(index) 

Removes the the layer effect at the specific index.

Parameters:

ParameterTypeDescription
indexintThe index of layer effect.