Sg 2.9
Group
Packages RSS
About
News
Gallery
Scripts
Tutorials
Download
Reference
Forum
Users
License
Twitter

Extends Item

A Group is a collection of items. When you transform a Group, it's children are treated as a single unit without changing their relative positions. The Group's style or transparency blending attributes affect the rendering of it's children without changing their style/attributes.

Constructors

    Parameters:
  • children: Array of Item — optional

Properties

Specifies whether the group item is to be clipped. When setting to true, the first child in the group is automatically defined as the clipping mask.

Sample code:

var group = new Group();
group.appendChild(path);
group.clipped = true;
    Returns:
  • Booleantrue if the group item is to be clipped, false otherwise

Bounding Rectangles

The bounding rectangle of the item excluding stroke width. Read-only.

The bounding rectangle of the item including stroke width. Read-only.

The bounding rectangle of the item including stroke width and controls. Read-only.

Inheritance

AltStyle によって変換されたページ (->オリジナル) /