class Celestine::Pattern
inherits Celestine::Drawable
#
Class which acts like a group, but applies masking to another drawable.
Included modules
Celestine::Meta::Context::Methods
Celestine::Modules::Animate
Celestine::Modules::Body
Celestine::Modules::Filter
Celestine::Modules::StrokeFill
Celestine::Modules::Transform
Constants#
TAG = "pattern"
#
"pattern"
Methods#
#anchor(&block : Celestine::Anchor -> Celestine::Anchor) : Celestine::Anchor
#
(&block : Celestine::Anchor -> Celestine::Anchor) : Celestine::Anchor
Allows a Celestine::Anchor
to be made using a DSL call, and added to this drawables items.
#circle(&block : Celestine::Circle -> Celestine::Circle) : Celestine::Circle
#
(&block : Celestine::Circle -> Celestine::Circle) : Celestine::Circle
Allows a Celestine::Circle
to be made using a DSL call, and added to this drawables items.
#draw(io : IO) : Nil
#
(io : IO) : Nil
Main draw method for a drawable. Takes in and interacts with an io.
#ellipse(&block : Celestine::Ellipse -> Celestine::Ellipse) : Celestine::Ellipse
#
(&block : Celestine::Ellipse -> Celestine::Ellipse) : Celestine::Ellipse
Allows a Celestine::Ellipse
to be made using a DSL call, and added to this drawables items.
#group(&block : Celestine::Group -> Celestine::Group) : Celestine::Group
#
(&block : Celestine::Group -> Celestine::Group) : Celestine::Group
Allows a Celestine::Group
to be made using a DSL call, and added to this drawables items.
#image(&block : Celestine::Image -> Celestine::Image) : Celestine::Image
#
(&block : Celestine::Image -> Celestine::Image) : Celestine::Image
Allows a Celestine::Image
to be made using a DSL call, and added to this drawables items.
#path(&block : Celestine::Path -> Celestine::Path) : Celestine::Path
#
(&block : Celestine::Path -> Celestine::Path) : Celestine::Path
Allows a Celestine::Path
to be made using a DSL call, and added to this drawables items.
#pattern_transform(&block : Celestine::Drawable::Transform -> Celestine::Drawable::Transform)
#
(&block : Celestine::Drawable::Transform -> Celestine::Drawable::Transform)
#rectangle(&block : Celestine::Rectangle -> Celestine::Rectangle) : Celestine::Rectangle
#
(&block : Celestine::Rectangle -> Celestine::Rectangle) : Celestine::Rectangle
Allows a Celestine::Rectangle
to be made using a DSL call, and added to this drawables items.
#svg(&block : Celestine::Svg -> Celestine::Svg) : Celestine::Svg
#
(&block : Celestine::Svg -> Celestine::Svg) : Celestine::Svg
Allows a Celestine::Svg
to be made using a DSL call, and added to this drawables items.
#text(&block : Celestine::Text -> Celestine::Text) : Celestine::Text
#
(&block : Celestine::Text -> Celestine::Text) : Celestine::Text
Allows a Celestine::Text
to be made using a DSL call, and added to this drawables items.
module Celestine::Pattern::Attrs
#
Included modules
Celestine::Modules::Body::Attrs
Celestine::Modules::Filter::Attrs
Celestine::Modules::StrokeFill::Attrs
Celestine::Modules::Transform::Attrs
Constants#
HREF = "href"
#
"href"
PATTERN_CONTENT_UNITS = "patternContentUnits"
#
"patternContentUnits"
PATTERN_TRANSFORM = "patternTransform"
#
"patternTransform"
PATTERN_UNITS = "patternUnits"
#
"patternUnits"
PRESERVE_ASPECT_RATIO = "preserveAspectRatio"
#
"preserveAspectRatio"
VIEW_BOX = "viewBox"
#
"viewBox"