Skip to main content

GraphicOptions

Hierarchy

Index

Properties

optionalflipHorizontal

flipHorizontal?: boolean

Should the graphic be flipped horizontally

optionalflipVertical

flipVertical?: boolean

Should the graphic be flipped vertically

optionalheight

height?: number

The height of the graphic

optionalopacity

opacity?: number

The opacity of the graphic between (0 -1)

optionalorigin

origin?: Vector

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

optionalrotation

rotation?: number

The rotation of the graphic

optionalscale

scale?: Vector

The scale of the graphic

optionaltint

tint?: Color

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

optionalwidth

width?: number

The width of the graphic