new (img:Image, ?frame:Rect, ?width:Int, ?height:Int, ?trim:Rect)
frame:Rect
read onlyheight:Int
image:Image
pivot:Point
rotated:Bool = false
trim:Rect
read onlytrimmed:Bool
read onlywidth:Int
unload ():Void
staticfromTexturePacker (img:Image, data:TexturePackerData):Texture