Painted Illustration

PaintedIllustration

A single item drawn by a painter. A path, rectangle or ellipse together with the render style it is drawn with and its instance transforms.

Nodes that output this type

Nodes that accept this type as input

Painted Illustration Center

Gets the center point of a rectangle or ellipse. Fails on paths.

→ Point2f

Painted Illustration Dimensions

Gets the width and height of a rectangle, or the a and b radii of an ellipse. Fails on paths.

→ Vector2f

Painted Illustration Instances

Gets the transforms this painted illustration is drawn with. It is drawn once for each transform.

→ Transform2List

Painted Illustration Is Ellipse

Returns whether this painted illustration is an ellipse.

→ Bool

Painted Illustration Is Path

Returns whether this painted illustration is a path.

→ Bool

Painted Illustration Is Rectangle

Returns whether this painted illustration is a rectangle.

→ Bool

Painted Illustration Path

Gets the path of this painted illustration. Only works on paths and fails on rectangles and ellipses.

→ Path

Painted Illustration Render Style

Gets the render style this painted illustration is drawn with.

→ RenderStyle

Painted Illustration Rotation

Gets the rotation in radians of a rectangle or ellipse. Fails on paths.

→ Float

Painted Illustration with Instances

Returns a copy of this painted illustration drawn with different transforms. It is drawn once for each transform. The shape and render style stay the same.

→ PaintedIllustration

Painted Illustration with Path

Returns a copy of this painted illustration with its shape replaced by a path. Works on paths, rectangles and ellipses. The render style and instances stay the same.

→ PaintedIllustration

Painted Illustration with Render Style

Returns a copy of this painted illustration drawn with a different render style. The shape and instances stay the same.

→ PaintedIllustration

Painted Illustration with Transform

Returns a copy of this painted illustration with a transform applied after each of its instance transforms.

→ PaintedIllustration