Fork me on GitHub
View source

package haxepunk.graphics.atlas

interface IAtlasRegion


implemented by AtlasRegion, AtlasResolutions

Variables

read only height : Int

read only width : Int

Functions

clip (clipRect : Rectangle, center : Vector2) : IAtlasRegion

draw (x : Float, y : Float, scaleX : Float = 1, scaleY : Float = 1, angle : Float = 0, color : Color = Color.White, alpha : Float = 1, shader : Shader, smooth : Bool, blend : BlendMode, clipRect : Rectangle, flexibleLayer : Bool = false) : Void

drawMatrix (tx : Float, ty : Float, a : Float, b : Float, c : Float, d : Float, color : Color = Color.White, alpha : Float = 1, shader : Shader, smooth : Bool, blend : BlendMode, clipRect : Rectangle, flexibleLayer : Bool = false) : Void

get_height () : Int

get_width () : Int