Module: Origami::Graphics::Pattern::Shading::Mesh

Included in:
CoonsPathMesh, FreeFormTriangleMesh, LatticeFormTriangleMesh
Defined in:
lib/origami/graphics/patterns.rb

Overview

Fields common to all Mesh shadings.

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object


93
94
95
96
97
98
# File 'lib/origami/graphics/patterns.rb', line 93

def self.included(receiver)
    receiver.field   :BitsPerCoordinate,   :Type => Integer, :Required => true
    receiver.field   :BitsPerComponent,    :Type => Integer, :Required => true
    receiver.field   :Decode,              :Type => Array.of(Number), :Required => true
    receiver.field   :Function,            :Type => [ Dictionary, Stream ]
end