object

PatternLayerInstance

Use an layer as the content of pattern.

Properties
PropertyTypeRequired
classconstRequired
refLayerNamestringRequired
offsetPointRequired
scalePointRequired
anglenumberRequired
reflectionbooleanRequired
rnumberRequired
shearnumberRequired
shearAxisnumberRequired
matrixMatrixRequired

class

Required

Description

no description

Type

const

Value

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

json
"patternLayer"

refLayerName

Required

Description

The name(utf-8) of the referenced pattern layer. Note that this is the name of the pattern layer, not its id. The pattern layer name is unique.

Type

string

offset

Required

Description

Specify the offset from the ruler origin of the origin to be used for tiling the pattern. Each distance specified in points.

Type

Point

scale

Required

Description

Specify the scale factors to be applied to the x and y dimensions, respectively, of the pattern.

Type

Point

angle

Required

Description

Specifies the angle in counterclockwise degrees to rotate the pattern.

Type

number

reflection

Required

Description

Flag indicating whether to apply a reflection to the pattern.

Type

boolean

r

Required

Description

Specifies the angle of the line from the origin about which the pattern is reflected. Used if the reflection operand is true.

Type

number

shear

Required

Description

Specifies the shear angle.

Type

number

shearAxis

Required

Description

Specifies the shear axis.

Type

number

matrix

Required

Description

Specifies the initial matrix to which all other pattern transformations are to be applied. This matrix describes transformations that are not otherwise expressible as the single combination of the other transformations.

Type

Matrix

Daruma Feedback