image

var image: ColorBuffer?(source)

Represents an optional ColorBuffer used as an input image for image-based fill operations. This property is used in conjunction with various fill attributes (e.g., fillUnits, fillFit, spreadMethodX, spreadMethodY, fillTransform) to define how the image is applied to a shape.

If this property is not set, an error will be thrown during the build process of the ImageFill.

The image may be modified via parameters like flipping vertically (flipV), scaling, or transforming. It plays a central role in defining visual aspects of a gradient or custom fill style.