Package | com.yworks.canvas |
Interface | public interface ICanvasObjectGroup extends ICanvasObject |
CanvasComponent
.
It is meant to group multiple ICanvasObject
instances as a logic unit. The interface is not meant to be implemented
by application programmers. Instances implementing this interface
can be retrieved from the factory methods in the canvas component.
Property | Defined By | ||
---|---|---|---|
descriptor : ICanvasObjectDescriptor
Gets or sets the descriptor instance that interprets the userObject
during rendering, hit testing, and bounds calculation. | ICanvasObject | ||
dirty : Boolean
Gets or sets whether the canvas object is dirty and should be repainted. | ICanvasObject | ||
first : ICanvasObject [read-only]
Returns the first item in the rendering list of this group. | ICanvasObjectGroup | ||
group : ICanvasObjectGroup
Gets or sets the parent group of this instance. | ICanvasObject | ||
last : ICanvasObject [read-only]
Returns the last item in the rendering list of this group. | ICanvasObjectGroup | ||
next : ICanvasObject [read-only]
Gets the next item in the list of rendered
items that is owned by this element's group. | ICanvasObject | ||
previous : ICanvasObject [read-only]
Gets the previous item in the list of rendered
items that is owned by this element's group. | ICanvasObject | ||
size : uint [read-only]
Gets the size, i.e. | ICanvasObjectGroup | ||
userObject : Object
Gets or sets the user object associated with this instance. | ICanvasObject | ||
visible : Boolean
Gets or sets the visibility state of this instance. | ICanvasObject |
first | property |
first:ICanvasObject
[read-only] Returns the first item in the rendering list of this group. This is the item that will be rendered first, i.e. behind all of the other items in the rendering list.
public function get first():ICanvasObject
last | property |
last:ICanvasObject
[read-only] Returns the last item in the rendering list of this group. This is the item that will be on top of all other items in the list.
public function get last():ICanvasObject
size | property |
size:uint
[read-only] Gets the size, i.e. the number of child canvas objects contained in this group.
public function get size():uint