Hierarchy

  • GraphicOptions

Properties

flipHorizontal?: boolean

Should the graphic be flipped horizontally

flipVertical?: boolean

Should the graphic be flipped vertically

height?: number

The height of the graphic

opacity?: number

The opacity of the graphic

origin?: Vector

The origin of the drawing in pixels to use when applying transforms, by default it will be the center of the image

rotation?: number

The rotation of the graphic

scale?: Vector

The scale of the graphic

tint?: Color

The tint of the graphic, this color will be multiplied by the original pixel colors

width?: number

The width of the graphic