Interface SpriteRendererOptions

interface SpriteRendererOptions {
    flipHorizontally: boolean;
    flipVertically: boolean;
    height: number;
    image: HTMLImageElement;
    layer: string;
    maskColor: string;
    maskColorMix: number;
    offset: Vector2;
    opacity: number;
    rotation: number;
    scale: Vector2;
    slice: Slice;
    smooth: boolean;
    tintColor: string;
    width: number;
}

Properties

flipHorizontally: boolean
flipVertically: boolean
height: number
image: HTMLImageElement
layer: string
maskColor: string
maskColorMix: number
offset: Vector2
opacity: number
rotation: number
scale: Vector2
slice: Slice
smooth: boolean
tintColor: string
width: number