Module: Origami::Graphics::Pattern

Included in:
Shading, Tiling
Defined in:
lib/origami/graphics/patterns.rb

Defined Under Namespace

Modules: Type Classes: Shading, Tiling

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object


31
32
33
34
# File 'lib/origami/graphics/patterns.rb', line 31

def self.included(receiver)
    receiver.field  :Type,          :Type => Name, :Default => :Pattern
    receiver.field  :PatternType,   :Type => Integer, :Required => true
end