Class Origami::Graphics::Instruction::JCap
In: sources/parser/graphics/path.rb
Parent: Object

Methods

new   update_state  

Included Modules

PDF::Instruction

Public Class methods

[Source]

     # File sources/parser/graphics/path.rb, line 128
128:         def initialize(cap); super('J', cap) end

Public Instance methods

[Source]

     # File sources/parser/graphics/path.rb, line 130
130:         def update_state(gs)
131:           gs.line_cap = @operands[0]
132:           self
133:         end

[Validate]