Class DrawableGroup

Definition

Namespace:
Tizen.NUI.BaseComponents.VectorGraphics
Assembly:
Tizen.NUI.dll

A class enabling to hold many Drawable objects. The added Drawables are affected by the transform and opacity of DrawableGoup.

C#
Copy
public class DrawableGroup : Drawable, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
DrawableGroup
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

DrawableGroup()

Creates an initialized DrawableGroup.

Declaration
C#
Copy
public DrawableGroup()

Methods

View Source

AddDrawable(Drawable)

Add drawable object to the DrawableGroup. This method is similar to registration.

Declaration
C#
Copy
public void AddDrawable(Drawable drawable)
Parameters
Type Name Description
Drawable drawable

Drawable object

Exceptions
Type Condition
System.ArgumentNullException

Thrown when drawable is null.

View Source

RemoveAllDrawables()

Clears the drawable object added to the DrawableGroup. This method does not free the memory of the added drawable object.

Declaration
C#
Copy
public bool RemoveAllDrawables()
Returns
Type Description
bool

True when it's successful. False otherwise.

View Source

RemoveDrawable(Drawable)

Remove drawable object from the DrawableGroup. This method is similar to deregistration.

Declaration
C#
Copy
public void RemoveDrawable(Drawable drawable)
Parameters
Type Name Description
Drawable drawable

Drawable object

Exceptions
Type Condition
System.ArgumentNullException

Thrown when drawable is null.

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable