module Celestine::Meta::Context::Methods
Overview
Holds all the context methods to be included in DSL classes like Context, Group, and Mask.
This creates all the methods that can be used inside the draw block, like circle
or group
or #use
.
Direct including types
- Celestine::Anchor
- Celestine::Group
- Celestine::Marker
- Celestine::Mask
- Celestine::Pattern
- Celestine::Svg
Defined in:
celestine.crInstance Method Summary
-
#<<(drawable : Celestine::Drawable)
Adds a new drawable to this context's objects
-
#use(id : String)
Reuses an element defined using
define: true
by id -
#use(drawable : Celestine::Drawable)
Reuses an element defined using
define: true
-
#use(drawable : Celestine::Drawable, &block : Celestine::Use -> Celestine::Use)
Reuses an element defined using
define: true
and then opens a block with that object for configuring -
#use(id : String, &block : Celestine::Use -> Celestine::Use)
Reuses an element defined using
define: true
by id and then opens a block with that object for configuring -
#use(&block : Celestine::Use -> Celestine::Use)
Reuses an element defined using
define: true
and then opens a block with that object for configuring
Instance Method Detail
Reuses an element defined using define: true
and then opens a block with that object for configuring
Reuses an element defined using define: true
by id and then opens a block with that object for configuring
Reuses an element defined using define: true
and then opens a block with that object for configuring