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

- (JoinStyle) initialize

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

- (Object) join_style (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

- (Object) join_style_count (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

- (Object) set_line_join_style(*params)



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