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.
public class DrawableGroup : Drawable, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceDrawableGroup()
Creates an initialized DrawableGroup.
Declaration
public DrawableGroup()
Methods
View SourceAddDrawable(Drawable)
Add drawable object to the DrawableGroup. This method is similar to registration.
Declaration
public void AddDrawable(Drawable drawable)
Parameters
Type | Name | Description |
---|---|---|
Drawable | drawable | Drawable object |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when drawable is null. |
RemoveAllDrawables()
Clears the drawable object added to the DrawableGroup. This method does not free the memory of the added drawable object.
Declaration
public bool RemoveAllDrawables()
Returns
Type | Description |
---|---|
bool | True when it's successful. False otherwise. |
RemoveDrawable(Drawable)
Remove drawable object from the DrawableGroup. This method is similar to deregistration.
Declaration
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