class Celestine::Gradient::Radial
Included Modules
Defined in:
effects/gradients/radial_gradient.crConstant Summary
-
TAG =
"radialGradient"
Instance Method Summary
-
#draw(io : IO) : Nil
Main draw method for a drawable.
- #radius : IFNumber | Nil
- #radius=(radius : IFNumber | Nil)
-
#radius_units : String | Nil
What kind of unit
#radius
should use when rendering -
#radius_units=(radius_units : String | Nil)
What kind of unit
#radius
should use when rendering - #start_radius : IFNumber | Nil
- #start_radius=(start_radius : IFNumber | Nil)
-
#start_radius_units : String | Nil
What kind of unit
#start_radius
should use when rendering -
#start_radius_units=(start_radius_units : String | Nil)
What kind of unit
#start_radius
should use when rendering - #start_x : IFNumber | Nil
- #start_x=(start_x : IFNumber | Nil)
-
#start_x_units : String | Nil
What kind of unit
#start_x
should use when rendering -
#start_x_units=(start_x_units : String | Nil)
What kind of unit
#start_x
should use when rendering - #start_y : IFNumber | Nil
- #start_y=(start_y : IFNumber | Nil)
-
#start_y_units : String | Nil
What kind of unit
#start_y
should use when rendering -
#start_y_units=(start_y_units : String | Nil)
What kind of unit
#start_y
should use when rendering
Instance methods inherited from module Celestine::Modules::CPosition
position_attribute(io : IO)
position_attribute,
x : IFNumber | Nil
x,
x=(x : IFNumber | Nil)
x=,
x_units : String | Nil
x_units,
x_units=(x_units : String | Nil)
x_units=,
y : IFNumber | Nil
y,
y=(y : IFNumber | Nil)
y=,
y_units : String | Nil
y_units,
y_units=(y_units : String | Nil)
y_units=
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 | Nil
gradient_units,
gradient_units=(gradient_units : String | Nil)
gradient_units=,
href : String | Nil
href,
href=(href : String | Nil)
href=,
spread_method : String | Nil
spread_method,
spread_method=(spread_method : String | Nil)
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 : 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.
def radius_units=(radius_units : String | Nil)
#
What kind of unit #radius
should use when rendering
def start_radius_units=(start_radius_units : String | Nil)
#
What kind of unit #start_radius
should use when rendering