Skip to content

ImageRepeat

Inherits: Enum

How to paint any portions of a box not covered by an image.

Properties

  • NO_REPEAT

    Repeat the image in both the x and y directions until the box is filled.

  • REPEAT

    Repeat the image in the x direction until the box is filled horizontally.

  • REPEAT_X

    Repeat the image in the y direction until the box is filled vertically.

  • REPEAT_Y

    Leave uncovered portions of the box transparent.

Properties#

NO_REPEAT = 'noRepeat' class-attribute instance-attribute #

Repeat the image in both the x and y directions until the box is filled.

REPEAT = 'repeat' class-attribute instance-attribute #

Repeat the image in the x direction until the box is filled horizontally.

REPEAT_X = 'repeatX' class-attribute instance-attribute #

Repeat the image in the y direction until the box is filled vertically.

REPEAT_Y = 'repeatY' class-attribute instance-attribute #

Leave uncovered portions of the box transparent.