class StumpyTGA::TGA

Defined in:

stumpy_tga/tga.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(buffer : Array(RGBA), w, h, pixel_depth : UInt8, offset_x : UInt16 = 0_u16, offset_y : UInt16 = 0_u16, image_id : String = "") #

[View source]
def self.new(buffer : Bytes, w, h, pixel_depth : UInt8, offset_x : UInt16 = 0_u16, offset_y : UInt16 = 0_u16, image_id : String = "") #

[View source]

Instance Method Detail

def canvas : StumpyCore::Canvas #

[View source]
def canvas=(canvas : StumpyCore::Canvas) #

[View source]
def image_id : String #

[View source]
def image_id=(image_id : String) #

[View source]
def offset_x : UInt16 #

[View source]
def offset_x=(offset_x : UInt16) #

[View source]
def offset_y : UInt16 #

[View source]
def offset_y=(offset_y : UInt16) #

[View source]
def pixel_depth : UInt8 #

[View source]
def pixel_depth=(pixel_depth : UInt8) #

[View source]