LayerStateEffects Class
Contents
[
Hide
]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.12.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| effects | ILayerEffect[] | r | Gets the layer effects. |
| is_visible | bool | r/w | Gets or sets a value indicating whether this instance is visible. |
Methods
| Name | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| ColorOverlayEffect | The new instance of the ColorOverlayEffect class. |
Method: add_drop_shadow()
add_drop_shadow()
Adds the drop shadow effect.
Returns
| Type | Description |
|---|---|
| DropShadowEffect | The new instance of the DropShadowEffect class. |
Method: add_gradient_overlay()
add_gradient_overlay()
Adds the gradient overlay effect.
Returns
| Type | Description |
|---|---|
| GradientOverlayEffect | The new instance of the GradientOverlayEffect class. |
Method: add_inner_shadow()
add_inner_shadow()
Adds the inner shadow effect.
Returns
| Type | Description |
|---|---|
| InnerShadowEffect | The new instance of the InnerShadowEffect class. |
Method: add_outer_glow()
add_outer_glow()
Adds the outer glow effect.
Returns
| Type | Description |
|---|---|
| OuterGlowEffect | The new instance of the OuterGlowEffect class. |
Method: add_pattern_overlay()
add_pattern_overlay()
Adds the pattern overlay effect.
Returns
| Type | Description |
|---|---|
| PatternOverlayEffect | The new instance of the PatternOverlayEffect class. |
Method: add_stroke(fill_type)
add_stroke(fill_type)
Adds the stroke effect.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| fill_type | FillType | The type stroke fill. |
Returns
| Type | Description |
|---|---|
| StrokeEffect | The 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:
| Parameter | Type | Description |
|---|---|---|
| index | int | The index of layer effect. |