class Celestine::Gradient::Linear

Defined in:

Constant Summary

TAG = "linearGradient"

Instance Method Summary

Instance methods inherited from class Celestine::Gradient

<<(c_stop : Celestine::Gradient::Stop) <<, gradient_transform(&block : Celestine::Drawable::Transform -> Celestine::Drawable::Transform) gradient_transform, gradient_transform_attribute(io : IO) gradient_transform_attribute, gradient_units : String? gradient_units, gradient_units=(gradient_units : String?) gradient_units=, href : String? href, href=(href : String?) href=, spread_method : String? spread_method, spread_method=(spread_method : String?) spread_method=, stop(offset, color = nil, opacity = nil)
stop(&block : Celestine::Gradient::Stop -> Celestine::Gradient::Stop)
stop

Instance methods inherited from module Celestine::Modules::Filter

filter_attribute(io : IO) filter_attribute, set_filter(id : String)
set_filter(filter : Celestine::Filter)
set_filter

Instance methods inherited from module Celestine::Modules::Animate

animate(&block : Proc(Celestine::Animate, Nil)) animate

Instance methods inherited from module Celestine::Modules::Transform

transform(&block : Celestine::Drawable::Transform -> Celestine::Drawable::Transform) transform, transform_attribute(io : IO) transform_attribute

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.


def x1 : IFNumber? #

def x1=(x1 : IFNumber?) #

def x1_units : String? #

What kind of unit #x1 should use when rendering


def x1_units=(x1_units : String?) #

What kind of unit #x1 should use when rendering


def x2 : IFNumber? #

def x2=(x2 : IFNumber?) #

def x2_units : String? #

What kind of unit #x2 should use when rendering


def x2_units=(x2_units : String?) #

What kind of unit #x2 should use when rendering


def y1 : IFNumber? #

def y1=(y1 : IFNumber?) #

def y1_units : String? #

What kind of unit #y1 should use when rendering


def y1_units=(y1_units : String?) #

What kind of unit #y1 should use when rendering


def y2 : IFNumber? #

def y2=(y2 : IFNumber?) #

def y2_units : String? #

What kind of unit #y2 should use when rendering


def y2_units=(y2_units : String?) #

What kind of unit #y2 should use when rendering