Skip to content

class Celestine::Gradient::Stop
inherits Celestine::Drawable #

Included modules

Celestine::Modules::Animate

Constants#

TAG = "stop" #

Methods#

#color : String? #

View source

#color=(color : String?) #

View source

#draw(io : IO) : Nil #

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

View source

#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? #

View source

#opacity=(opacity : IFNumber?) #

View source

module Celestine::Gradient::Stop::Attrs #

Constants#

COLOR = "stop-color" #

OFFSET = "offset" #

OPACITY = "stop-opacity" #