Class Origami::Graphics::Instruction::StrokeRG
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 142
142:         def initialize(r,g,b); super('RG', r,g,b) end

Public Instance methods

[Source]

     # File sources/parser/graphics/colors.rb, line 144
144:         def update_state(gs)
145:           gs.stroking_colorspace = Color::Space::DEVICE_RGB
146:           gs.stroking_color = @operands
147:           self
148:         end

[Validate]