class IconRenderer::Assets::AnimationSprite

Overview

Represents the metadata of an animation frame's sprite

Defined in:

assets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(texture : String, position : Tuple(Float32, Float32), scale : Tuple(Float32, Float32), rotation : Float64, flipped : Tuple(Int32, Int32), z : Int32) #

[View source]
def self.new(obj : PList::Value) #

[View source]

Instance Method Detail

def flipped : Tuple(Bool, Bool) #

[View source]
def position : Tuple(Float32, Float32) #

[View source]
def rotation : Float64 #

[View source]
def scale : Tuple(Float32, Float32) #

[View source]
def texture : String #

[View source]
def z : Int32 #

[View source]