struct Lolcat::Options
- Lolcat::Options
- Struct
- Value
- Object
Defined in:
lolcat/options.crConstructors
Instance Method Summary
- #action : Action
- #action=(action : Action)
- #animate=(animate : Bool)
- #animate? : Bool
- #duration : Int32
- #duration=(duration : Int32)
- #force=(force : Bool)
- #force? : Bool
- #freq : Float64
- #freq=(freq : Float64)
- #invert=(invert : Bool)
- #invert? : Bool
- #offset : Float64
- #offset=(offset : Float64)
- #speed : Float64
- #speed=(speed : Float64)
- #spread : Float64
- #spread=(spread : Float64)
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)
#