New to Kendo UI for AngularStart a free 30-day trial

Group

Class

Represents a group of visual elements that can be managed and manipulated as a single unit. Extends Element and incorporates AutoSizeableMixin functionality for automatic sizing.

Definition

Package:@progress/kendo-angular-diagrams

Methods

Appends a visual element to this group.

Parameters:visualany

The visual element to append to the group

Removes all child visual elements from this group.

Gets the drawing container for this element.

Returns:

any

The drawing element container

Gets or sets the position of the element.

Parameters:xany

The x coordinate or Point object, or undefined to get current position

y?any

The y coordinate when x is a number

Returns:

Point

The current position as a Point when called as getter

Redraws the group with updated options.

Parameters:optionsany

New options to apply to the group

Removes a visual element from this group.

Parameters:visualany

The visual element to remove from the group

Gets or sets the rotation of the element.

Parameters:angleany

The rotation angle in radians, or undefined to get current rotation

centerany

The center point for rotation

Returns:

Rotation

The current rotation when called as getter

Moves the specified visual elements to the back of the display order.

Parameters:visualsany

Array of visual elements to move to back

Moves the specified visual elements to the front of the display order.

Parameters:visualsany

Array of visual elements to move to front

Moves the specified visual elements to specific indices in the display order.

Parameters:visualsany

Array of visual elements to reorder

indicesany

Target indices for the visual elements

Gets or sets the visibility of the element.

Parameters:valueany

The visibility value to set, or undefined to get current visibility

Returns:

any

The current visibility state when called as getter

Properties

Array of child visual elements contained in this group.

The underlying drawing element that handles the actual rendering.

id

string

The unique identifier of the element.

Configuration options for the element.