struct Lolcat::Options

Defined in:

lolcat/options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(action : Lolcat::Action = Action::Lolcat, spread : Float64 = 3.0, freq : Float64 = 0.1, offset : Float64 = rand * 256.0, animate : Bool = false, duration : Int32 = 12, speed : Float64 = 20.0, invert : Bool = false, force : Bool = false) #

[View source]

Instance Method Detail

def action : Action #

[View source]
def action=(action : Action) #

[View source]
def animate=(animate : Bool) #

[View source]
def animate? : Bool #

[View source]
def duration : Int32 #

[View source]
def duration=(duration : Int32) #

[View source]
def force=(force : Bool) #

[View source]
def force? : Bool #

[View source]
def freq : Float64 #

[View source]
def freq=(freq : Float64) #

[View source]
def invert=(invert : Bool) #

[View source]
def invert? : Bool #

[View source]
def offset : Float64 #

[View source]
def offset=(offset : Float64) #

[View source]
def speed : Float64 #

[View source]
def speed=(speed : Float64) #

[View source]
def spread : Float64 #

[View source]
def spread=(spread : Float64) #

[View source]