Class Pattern

Constructors

  • Parameters

    • image: string | ImageLike
    • repeat: ImagePatternRepeat

    Returns Pattern

Properties

image: string | ImageLike
repeat: ImagePatternRepeat
rotation: number
scaleX: number
scaleY: number
svgElement: string | SVGElement

svg element can only be used in svg renderer currently.

Will be string if using SSR rendering.

type: "pattern"
x: number
y: number