Class Origami::Graphics::Instruction::StrokeG
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 120
120:         def initialize(color); super('G', color) end

Public Instance methods

[Source]

     # File sources/parser/graphics/colors.rb, line 122
122:         def update_state(gs)
123:           gs.stroking_colorspace = Color::Space::DEVICE_GRAY
124:           gs.stroking_color = @operands
125:           self
126:         end

[Validate]