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



37
38
39
40
# File 'lib/origami/graphics/patterns.rb', line 37

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