Skip to main content

GetSpriteOptions

Hierarchy

Index

Properties

optionalinheritedflipHorizontal

flipHorizontal?: boolean

Should the graphic be flipped horizontally

optionalinheritedflipVertical

flipVertical?: boolean

Should the graphic be flipped vertically

optionalinheritedheight

height?: number

The height of the graphic

optionalinheritedopacity

opacity?: number

The opacity of the graphic between (0 -1)

optionalinheritedorigin

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

optionalinheritedrotation

rotation?: number

The rotation of the graphic

optionalinheritedscale

scale?: Vector

The scale of the graphic

optionalinheritedtint

tint?: Color

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

optionalinheritedwidth

width?: number

The width of the graphic