module

Celestine::Meta::Context::Methods

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.

Instance methods

<<(drawable : Celestine::Drawable)

Adds a new drawable to this context's objects

Source
use(id : String)

Reuses an element defined using define: true by id

Source
use(drawable : Celestine::Drawable)

Reuses an element defined using define: true

Source

Reuses an element defined using define: true and then opens a block with that object for configuring

Source
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

Source
use

Reuses an element defined using define: true and then opens a block with that object for configuring

Source