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
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Drawable
    DrawableGroup
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    DrawableGroup()

    Creates an initialized DrawableGroup.

    Declaration
    public DrawableGroup()

    Methods

    View Source

    AddDrawable(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.

    View Source

    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.

    View Source

    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
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX