class Celestine::Gradient::Stop

Included Modules

Defined in:

effects/gradients/gradient.cr

Constant Summary

TAG = "stop"

Instance Method Summary

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 color : String | Nil #

[View source]
def color=(color : String | Nil) #

[View source]
def draw(io : IO) : Nil #
Description copied from class Celestine::Drawable

Main draw method for a drawable. Takes in and interacts with an io.


[View source]
def offset : IFNumber | Nil #

def offset=(offset : IFNumber | Nil) #

def offset_units : String | Nil #

What kind of unit #offset should use when rendering


def offset_units=(offset_units : String | Nil) #

What kind of unit #offset should use when rendering


def opacity : IFNumber | Nil #

[View source]
def opacity=(opacity : IFNumber | Nil) #

[View source]