Tizen Native API  4.0
Dali::Toolkit::GradientVisual::Units Namespace Reference

The type of coordinate system for certain attributes of the points in a gradient. More...

Enumerations

enum  Type
 The type of coordinate system for certain attributes of the points in a gradient. More...

Detailed Description

The type of coordinate system for certain attributes of the points in a gradient.

This applies to the:

  • Start (x1, y1) and End (x2 and y2) points of a line if using a linear gradient.
  • Center point (cx, cy) and radius (r) of a circle if using a radial gradient.
    Since:
    3.0, DALi version 1.1.45

Enumeration Type Documentation

The type of coordinate system for certain attributes of the points in a gradient.

This applies to the:

  • Start (x1, y1) and End (x2 and y2) points of a line if using a linear gradient.
  • Center point (cx, cy) and radius (r) of a circle if using a radial gradient.
    Since:
    3.0, DALi version 1.1.45
Enumerator:
OBJECT_BOUNDING_BOX 

Uses the normals for the start, end & center points, i.e. top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).

Since:
3.0, DALi version 1.1.45
USER_SPACE 

Uses the user coordinates for the start, end & center points, i.e. in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).

Since:
3.0, DALi version 1.1.45