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#Copypublic class DrawableGroup : Drawable, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic DrawableGroup()
API Level: 9
Methods
View Source
AddDrawable(Drawable)
Add drawable object to the DrawableGroup. This method is similar to registration.
Declaration
C#Copypublic 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#Copypublic 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#Copypublic 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