Module: Origami::Graphics::Pattern::Shading::ShadingObject

Included in:
Axial, CoonsPathMesh, FreeFormTriangleMesh, FunctionBased, LatticeFormTriangleMesh, Radial, TensorProductPatchMesh
Defined in:
lib/origami/graphics/patterns.rb

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



87
88
89
90
91
92
93
# File 'lib/origami/graphics/patterns.rb', line 87

def self.included(receiver)
  receiver.field   :ShadingType,         :Type => Integer, :Required => true
  receiver.field   :ColorSpace,          :Type => [ Name, Array ], :Required => true
  receiver.field   :Background,          :Type => Array
  receiver.field   :BBox,                :Type => Array
  receiver.field   :AntiAlias,           :Type => Boolean, :Default => false
end