Class: Pdfrb::Content::Operator::StrokeAlpha

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/content/operators/graphics_state_params.rb

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, alpha) ⇒ Object



86
87
88
# File 'lib/pdfrb/content/operators/graphics_state_params.rb', line 86

def self.invoke(processor, alpha)
  processor.update_graphics_state(stroke_alpha: alpha.to_f)
end

.nameObject



85
# File 'lib/pdfrb/content/operators/graphics_state_params.rb', line 85

def self.name; "CA"; end