class Celestine::Gradient::Stop
- Celestine::Gradient::Stop
- Celestine::Drawable
- Reference
- Object
Included Modules
Defined in:
Constant Summary
-
TAG =
"stop"
Instance Method Summary
- #color : String?
- #color=(color : String?)
-
#draw(io : IO) : Nil
Main draw method for a drawable.
- #offset : IFNumber?
- #offset=(offset : IFNumber?)
-
#offset_units : String?
What kind of unit
#offset
should use when rendering -
#offset_units=(offset_units : String?)
What kind of unit
#offset
should use when rendering - #opacity : IFNumber?
- #opacity=(opacity : IFNumber?)
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)
custom_attrs=,
draw(io : IO) : Nil
draw,
id : String?
id,
id=(id : String?)
id=,
id_attribute(io : IO)
id_attribute,
inner_elements : IO::Memory
inner_elements,
inner_elements=(inner_elements)
inner_elements=,
style : Hash(String, String)
style,
style=(style)
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.