Class Origami::Graphics::Instruction::StrokeK
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 164
164:         def initialize(c,m,y,k); super('K', c,m,y,k) end

Public Instance methods

[Source]

     # File sources/parser/graphics/colors.rb, line 166
166:         def update_state(gs)
167:           gs.stroking_colorspace = Color::Space::DEVICE_CMYK
168:           gs.stroking_color = @operands
169:           self
170:         end

[Validate]