DropShadowEffect Class
An effect that applies a drop shadow to the result produced by a layer or a view.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECore assembly)
Syntax
public class DropShadowEffect : EffectRemarks
This effect will apply a drop shadow which will have an offset and a blur radius. This effect can be used to separate objects from objects in the background and give a sense of depth. This effect is better suited for 2D as the shadow will be applied in screen space.
![]() |
Inheritance Hierarchy
System.Object
EngineObject
ResourceObject
Effect
DropShadowEffect
Platforms
Windows, Linux, Android
DropShadowEffect Members
The DropShadowEffect type has the following members.
Constructors
| Name | Description |
|---|---|
| DropShadowEffect | Initializes a new instance of the DropShadowEffect class. |
Properties
| Name | Description |
|---|---|
| IsDisposed | Gets a value that tells whether the current DropShadowEffect has been disposed. Inherited from EngineObject |
| Name | Gets or sets the name of the DropShadowEffect. Inherited from ResourceObject |
| NativeHandle | Gets the native Carmenta Engine kernel object the current DropShadowEffect represents. Inherited from EngineObject |
| OffsetX | Gets or sets the horizontal offset in pixels of the dropped shadow. |
| OffsetY | Gets or sets the vertical offset in pixels of the dropped shadow. |
| Radius | Gets or sets the radius of the softness in the dropped shadow. |
| Strength | Gets or sets the strength of the effect. Inherited from Effect |
| IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
| Name | Description |
|---|---|
| Clone | Creates a copy of an object. Inherited from EngineObject |
| Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
| Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
