Class Shadow
Definition
- Assembly:
- Tizen.NUI.dll
Represents a shadow with color and blur radius for a View.
public class Shadow : ShadowBase, ICloneable
- Inheritance
- Implements
-
System.ICloneable
Constructors
View SourceShadow()
Create a Shadow with default values.
Declaration
public Shadow()
Shadow(float, Color, Vector2, Vector2)
Create a Shadow with custom values.
Declaration
public Shadow(float blurRadius, Color color, Vector2 offset = null, Vector2 extents = null)
Parameters
Type | Name | Description |
---|---|---|
float | blurRadius | The blur radius value for the shadow. Bigger value, much blurry. |
Color | color | The color for the shadow. |
Vector2 | offset | Optional. The position offset value (x, y) from the top left corner. See Offset. |
Vector2 | extents | Optional. The shadow will extend its size by specified amount of length. See Extents. |
Properties
View SourceBlurRadius
The blur radius value for the shadow. Bigger value, much blurry.
Declaration
public float BlurRadius { get; }
Property Value
Type | Description |
---|---|
float |
Remarks
Negative value is ignored. (no blur)
Color
The color for the shadow.
Declaration
public Color Color { get; }
Property Value
Type | Description |
---|---|
Color |
Implements
System.ICloneable