Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 9
The base class to describe basic shadow.
public abstract class ShadowBase : object
- Inheritance
-
- Derived
-
Constructors
Declaration
View Source
ShadowBase(PropertyMap)
Create a Shadow from a property map.
Declaration
protected ShadowBase(PropertyMap propertyMap)
Parameters
Declaration
protected ShadowBase(ShadowBase other)
Parameters
Declaration
protected ShadowBase(Vector2 offset, Vector2 extents)
Parameters
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
public Vector2 Extents { get; }
Property Value
API Level: 9
View Source
Offset
The position offset value (x, y) from the top left corner.
Declaration
public Vector2 Offset { get; }
Property Value
API Level: 9
Methods
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
API Level: 9
Declaration
public override int GetHashCode()
Returns
Declaration
protected virtual PropertyMap GetPropertyMap()
Returns
Operators
Declaration
public static bool operator ==(ShadowBase shadow1, ShadowBase shadow2)
Parameters
Returns
API Level: 9
Declaration
public static bool operator !=(ShadowBase shadow1, ShadowBase shadow2)
Parameters
Returns
API Level: 9
Extension Methods