Tizen Native API
4.0
|
Visual Transform Property. More...
Enumerations | |
enum | Type |
Enumeration for the type of Transfrom Property. More... |
Enumeration for the type of Transfrom Property.
OFFSET |
Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units). Name "offset", type Property::VECTOR2.
|
SIZE |
Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units). Name "size", type Property::VECTOR2.
|
ORIGIN |
The origin of the visual within its control area. Name "origin", type Align::Type (Property::INTEGER) or Property::STRING.
|
ANCHOR_POINT |
The anchor-point of the visual. Name "anchorPoint", type Align::Type (Property::INTEGER) or Property::STRING.
|
OFFSET_POLICY |
Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units). Name "offsetPolicy", type Vector2 or Property::ARRAY of Property::STRING. If Property::ARRAY then 2 strings expected for the x and y. C++: control.SetProperty( ..., // Some visual based property Property::Map().Add( ... ) // Properties to set up visual .Add( Visual::Property::TRANSFORM, Property::Array().Add( Toolkit::Visual::Transform::Property::OFFSET_POLICY, Vector2( Policy::ABSOLUTE, Policy::RELATIVE ) ) ) .Add( Toolkit::Visual::Transform::Property::OFFSET, Vector2( 10, 1.0f ) ) ); JSON: { ... "transition": { "offsetPolicy" : [ "ABSOLUTE", "RELATIVE" ], "offset" : [ 10, 1.0 ] } ... }
|
SIZE_POLICY |
Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units). Name "sizePolicy", type Vector2 or Property::ARRAY of Property::STRING. If Property::ARRAY then 2 strings expected for the width and height.
|