Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sprite

Hierarchy

Index

Constructors

constructor

Methods

_raw

  • _raw(): any

getColor

getGlobalBounds

getLocalBounds

getOrigin

getPosition

getRotation

  • getRotation(): number

getScale

getTexture

getTextureRect

move

rotate

  • rotate(angle: number): void

scale

setColor

  • setColor(color: number | Color): void

setOrigin

setPosition

  • setPosition(x: number, y: number): void
  • setPosition(pos: PointType<Vector2F>): void

setRotation

  • setRotation(rotation: number): void

setScale

setTexture

  • setTexture(texture: Texture): void

setTextureRect

Generated using TypeDoc