Class Origami::Graphics::Instruction::G
In: sources/parser/graphics/colors.rb
Parent: Object

Methods

new   update_state  

Included Modules

PDF::Instruction

Public Class methods

[Source]

     # File sources/parser/graphics/colors.rb, line 131
131:         def initialize(color); super('g', color) end

Public Instance methods

[Source]

     # File sources/parser/graphics/colors.rb, line 133
133:         def update_state(gs)
134:           gs.nonstroking_colorspace = Color::Space::DEVICE_GRAY
135:           gs.nonstroking_color = @operands
136:           self
137:         end

[Validate]