Tizen Native API  5.0

Actor is the primary object for interaction in DALi applications.

Classes

class  Dali::Actor
 Actor is the primary object with which Dali applications interact. More...
class  Dali::CameraActor
 CameraActor controls a camera. More...
class  Dali::CustomActorImpl
 CustomActorImpl is an abstract base class for custom control implementations. More...
class  Dali::CustomActor
 CustomActor is a base class for custom UI controls. More...
class  Dali::Layer
 Layers provide a mechanism for overlaying groups of actors on top of each other. More...

Functions

void Dali::UnparentAndReset (Actor &actor)
 Helper for discarding an actor handle.

Namespaces

namespace  Dali::Dimension
 

Enumeration for layout Dimensions.


namespace  Dali::ResizePolicy
 

Enumeration for size negotiation resize policies.


namespace  Dali::SizeScalePolicy
 

Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.


namespace  Dali::HorizontalAlignment
 

Enumeration for horizontal alignment types.


namespace  Dali::VerticalAlignment
 

Enumeration for vertical alignment types.


namespace  Dali::ClippingMode
 

Enumeration for ClippingMode describing how this Actor's children will be clipped against it.


namespace  Dali::LayoutDirection
 

Enumeration for the direction of the layout.


namespace  Dali::Camera
 

Enumeration for camera.


namespace  Dali::DrawMode
 

DrawMode to determine how the Actor and its children will be drawn.


namespace  Dali::WrapMode
 

WrapMode for textures.


Enumerations

enum  Dali::ColorMode
 Enumeration for Actor color mode. More...
enum  Dali::PositionInheritanceMode
 Enumeration for Actor position inheritance mode. More...

Typedefs

typedef Rect< float > Dali::Padding
 Padding definition.
typedef IntrusivePtr
< CustomActorImpl > 
Dali::CustomActorImplPtr
 Pointer to Dali::CustomActorImpl object.
typedef Rect< int32_t > Dali::ClippingBox
 Rectangle describing area on screen that a layer can draw to.

Typedef Documentation

typedef Rect<int32_t> Dali::ClippingBox

Rectangle describing area on screen that a layer can draw to.

Since:
2.4, DALi version 1.0.0
See also:
Dali::Layer::SetClippingBox()
typedef IntrusivePtr<CustomActorImpl> Dali::CustomActorImplPtr

Pointer to Dali::CustomActorImpl object.

Since:
2.4, DALi version 1.0.0
typedef Rect<float> Dali::Padding

Padding definition.

Since:
2.4, DALi version 1.0.0

Enumeration Type Documentation

Enumeration for Actor color mode.

Since:
2.4, DALi version 1.0.0
Enumerator:
USE_OWN_COLOR 

Actor will use its own color.

Since:
2.4, DALi version 1.0.0
USE_PARENT_COLOR 

Actor will use its parent color.

Since:
2.4, DALi version 1.0.0
USE_OWN_MULTIPLY_PARENT_COLOR 

Actor will blend its color with its parents color.

Since:
2.4, DALi version 1.0.0
USE_OWN_MULTIPLY_PARENT_ALPHA 

Actor will blend its alpha with its parents alpha. This means when parent fades in or out child does as well. This is the default.

Since:
2.4, DALi version 1.0.0

Enumeration for Actor position inheritance mode.

Deprecated:
Deprecated since 3.0, DALi version 1.1.24 Use SetInheritPosition instead
Since:
2.4, DALi version 1.0.0
Enumerator:
INHERIT_PARENT_POSITION 

Actor will inherit its parent position. This is the default.

Since:
2.4, DALi version 1.0.0
USE_PARENT_POSITION 

Actor will copy its parent position. This is useful if many actors are stacked together in the same place. This option ignores parent origin and anchor point.

Since:
2.4, DALi version 1.0.0
USE_PARENT_POSITION_PLUS_LOCAL_POSITION 

Actor will copy its parent position and add local position. This is useful if many actors are stacked together in the same place with an offset. This option ignores parent origin and anchor point.

Since:
2.4, DALi version 1.0.0
DONT_INHERIT_POSITION 

Actor will not inherit position. Local position is treated as world position. This is useful if a constraint is used to override local position or if an actor is positioned globally. This option ignores parent origin, anchor point and local position.

Since:
2.4, DALi version 1.0.0

Function Documentation

void Dali::UnparentAndReset ( Actor &  actor)

Helper for discarding an actor handle.

If the handle is empty, this method does nothing. Otherwise Actor::Unparent() will be called, followed by Actor::Reset().

Since:
2.4, DALi version 1.0.0
Parameters:
[in,out]actorA handle to an actor, or an empty handle