Class Shadow

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
9

Represents a shadow with color and blur radius for a View.

C#
Copy
public class Shadow : ShadowBase, ICloneable
Inheritance
Implements
ICloneable

Constructors

View Source

Shadow()

Create a Shadow with default values.

Declaration
C#
Copy
public Shadow()
API Level: 9
View Source

Shadow(Single, Color, Vector2, Vector2)

Create a Shadow with custom values.

Declaration
C#
Copy
public Shadow(float blurRadius, Color color, Vector2 offset = null, Vector2 extents = null)
Parameters
Type Name Description
Single 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.

API Level: 9
View Source

Shadow(Shadow)

Copy constructor.

Declaration
C#
Copy
public Shadow(Shadow other)
Parameters
Type Name Description
Shadow other

Properties

View Source

BlurRadius

The blur radius value for the shadow. Bigger value, much blurry.

Declaration
C#
Copy
public float BlurRadius { get; }
Property Value
Type Description
Single
API Level: 9
View Source

Color

The color for the shadow.

Declaration
C#
Copy
public Color Color { get; }
Property Value
Type Description
Color
API Level: 9

Methods

View Source

Clone()

Declaration
C#
Copy
public object Clone()
Returns
Type Description
Object
View Source

Equals(Object)

Declaration
C#
Copy
public override bool Equals(object other)
Parameters
Type Name Description
Object other
Returns
Type Description
Boolean
Overrides
View Source

GetHashCode()

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
View Source

GetPropertyMap()

Extract a property map.

Declaration
C#
Copy
protected override PropertyMap GetPropertyMap()
Returns
Type Description
PropertyMap
Overrides

Implements

ICloneable

Extension Methods