Class: PDF::Inspector::Graphics::JoinStyle

Inherits:
PDF::Inspector show all
Defined in:
lib/pdf/inspector/graphics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from PDF::Inspector

analyze, analyze_file, parse

Constructor Details

#initializeJoinStyle

Returns a new instance of JoinStyle.



114
115
116
# File 'lib/pdf/inspector/graphics.rb', line 114

def initialize
  @join_style_count = 0
end

Instance Attribute Details

#join_styleObject (readonly)

Returns the value of attribute join_style.



112
113
114
# File 'lib/pdf/inspector/graphics.rb', line 112

def join_style
  @join_style
end

#join_style_countObject (readonly)

Returns the value of attribute join_style_count.



112
113
114
# File 'lib/pdf/inspector/graphics.rb', line 112

def join_style_count
  @join_style_count
end

Instance Method Details

#set_line_join_style(*params) ⇒ Object



118
119
120
121
# File 'lib/pdf/inspector/graphics.rb', line 118

def set_line_join_style(*params)
  @join_style_count += 1
  @join_style = params[0]
end