Class ShadowBase

Definition

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

The base class to describe basic shadow.

C#
Copy
public abstract class ShadowBase : object
Inheritance
ShadowBase
Derived

Constructors

View Source

ShadowBase()

Constructor

Declaration
C#
Copy
protected ShadowBase()
View Source

ShadowBase(PropertyMap)

Create a Shadow from a property map.

Declaration
C#
Copy
protected ShadowBase(PropertyMap propertyMap)
Parameters
Type Name Description
PropertyMap propertyMap
View Source

ShadowBase(ShadowBase)

Copy Constructor

Declaration
C#
Copy
protected ShadowBase(ShadowBase other)
Parameters
Type Name Description
ShadowBase other
View Source

ShadowBase(Vector2, Vector2)

Constructor

Declaration
C#
Copy
protected ShadowBase(Vector2 offset, Vector2 extents)
Parameters
Type Name Description
Vector2 offset
Vector2 extents

Properties

View Source

Extents

The shadow will extend its size by specified amount of length.
If the value is negative then the shadow will shrink. For example, when View's size is (100, 100) and the Shadow's Extents is (5, -5), the output shadow will have size (105, 95).

Declaration
C#
Copy
public Vector2 Extents { get; }
Property Value
Type Description
Vector2
API Level: 9
View Source

Offset

The position offset value (x, y) from the top left corner.

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

Methods

View Source

Equals(Object)

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

GetHashCode()

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

GetPropertyMap()

Extract a property map.

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

Operators

View Source

Equality(ShadowBase, ShadowBase)

Equality operator.

Declaration
C#
Copy
public static bool operator ==(ShadowBase shadow1, ShadowBase shadow2)
Parameters
Type Name Description
ShadowBase shadow1
ShadowBase shadow2
Returns
Type Description
Boolean
API Level: 9
View Source

Inequality(ShadowBase, ShadowBase)

Inequality operator.

Declaration
C#
Copy
public static bool operator !=(ShadowBase shadow1, ShadowBase shadow2)
Parameters
Type Name Description
ShadowBase shadow1
ShadowBase shadow2
Returns
Type Description
Boolean
API Level: 9

Extension Methods