Skip to main content

PatternImageTile

Typeobject
Backlinks1

Use an image as the content of the pattern. The pattern type is tile.

PropertyTypeRequired
classstringRequired
mirrorbooleanOptional
scalenumberRequired
modeintegerOptional
rotationnumberRequired
imageFileNamestringRequired
imageFiltersImageFiltersOptional

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"patternImageTile"

mirror​

Optional

Description

Whether to mirror the image repetitively. Default value is false.

Type

boolean

scale​

Required

Description

Image scaling ratio. 0.5 means 50%, 2 means 200%, and so on.

Type

number

mode​

Optional

Description

Tile the image in which direction.

Type

integer

Value

enum: the value of this property must be equal to one of the following values:

ValueExplanation
0
horizontal and vertical(default value)
1
only horizontal
2
only vertical

rotation​

Required

Description

Rotation of the image in degrees. Positive values represent counterclockwise rotation. Rotate around the center of the image.

Type

number

imageFileName​

Required

Description

File name of the image.

Type

string

imageFilters​

Optional

Description

Adjust the colors of the image.