Module: Origami::Graphics::Pattern::Shading::ShadingObject
- Included in:
- Axial, CoonsPathMesh, FreeFormTriangleMesh, FunctionBased, LatticeFormTriangleMesh, Radial, TensorProductPatchMesh
- Defined in:
- lib/origami/graphics/patterns.rb
Overview
Fields common to all shading objects.
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/origami/graphics/patterns.rb', line 82 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 => Rectangle receiver.field :AntiAlias, :Type => Boolean, :Default => false end |