class Celestine::Gradient::Stop
- Celestine::Gradient::Stop
- Celestine::Drawable
- Reference
- Object
Included Modules
Defined in:
effects/gradients/gradient.crConstant Summary
-
TAG =
"stop"
Instance Method Summary
- #color : String | Nil
- #color=(color : String | Nil)
-
#draw(io : IO) : Nil
Main draw method for a drawable.
- #offset : IFNumber | Nil
- #offset=(offset : IFNumber | Nil)
-
#offset_units : String | Nil
What kind of unit
#offset
should use when rendering -
#offset_units=(offset_units : String | Nil)
What kind of unit
#offset
should use when rendering - #opacity : IFNumber | Nil
- #opacity=(opacity : IFNumber | Nil)
Instance methods inherited from module Celestine::Modules::Animate
animate(&block : Proc(Celestine::Animate, Nil))
animate
Instance methods inherited from class Celestine::Drawable
class_attribute(io : IO)
class_attribute,
classes : Array(String)
classes,
classes=(classes : Array(String))
classes=,
custom_attribute(io : IO)
custom_attribute,
custom_attrs : Hash(String, String)
custom_attrs,
custom_attrs=(custom_attrs : Hash(String, String))
custom_attrs=,
draw(io : IO) : Nil
draw,
id : String | Nil
id,
id=(id : String | Nil)
id=,
id_attribute(io : IO)
id_attribute,
inner_elements : IO::Memory
inner_elements,
inner_elements=(inner_elements : IO::Memory)
inner_elements=,
style : Hash(String, String)
style,
style=(style : Hash(String, String))
style=,
style_attribute(io : IO)
style_attribute
Instance Method Detail
def draw(io : IO) : Nil
#
Description copied from class Celestine::Drawable
Main draw method for a drawable. Takes in and interacts with an io.