Class DrawableGroup

Definition

Namespace:
Tizen.NUI.BaseComponents.VectorGraphics
Assembly:
Tizen.NUI.dll
API Level:
9

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, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
System.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()
API Level: 9

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.

API Level: 9
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
Boolean

True when it's successful. False otherwise.

API Level: 9
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.

API Level: 9

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable