class

CrImage::GIF::Animation

Inherits Reference / Object

Animated GIF container

Constructors

new(frames : Array(CrImage::GIF::Frame) = [] of Frame, width : Int32 = 0, height : Int32 = 0, loop_count : Int32 = 0)
Source

Instance methods

duration

Get total duration in milliseconds

Source
frames
Source
frames=(frames : Array(Frame))
Source
height
Source
height=(height : Int32)
Source
loop_count
Source
loop_count=(loop_count : Int32)
Source
width
Source
width=(width : Int32)
Source