# Sprite

open class Sprite

Created by pedro on 17/11/17. Sprite is drawn from top left of the image. Sprite positions in screen: 0,0 100,0 ________ | | | | | Screen | | | |________| 0,100 100,100

## Constructors

Sprite
Link copied to clipboard
constructor()

## Properties

rotation
Link copied to clipboard
open var rotation: Int
scale
Link copied to clipboard
open val scale: PointF

## Functions

getTransformedVertices
Link copied to clipboard
open fun getTransformedVertices(): Array<Float>
getTranslation
Link copied to clipboard
open fun getTranslation(): PointF
reset
Link copied to clipboard
open fun reset()
scale
Link copied to clipboard
open fun scale(deltaX: Float, deltaY: Float)
translate
Link copied to clipboard
open fun translate(translation: TranslateTo)
open fun translate(deltaX: Float, deltaY: Float)