Class: PDF::Inspector::Graphics::JoinStyle
- Inherits:
-
PDF::Inspector
- Object
- PDF::Inspector
- PDF::Inspector::Graphics::JoinStyle
- Defined in:
- lib/pdf/inspector/graphics.rb
Instance Attribute Summary collapse
-
#join_style ⇒ Object
readonly
Returns the value of attribute join_style.
-
#join_style_count ⇒ Object
readonly
Returns the value of attribute join_style_count.
Instance Method Summary collapse
-
#initialize ⇒ JoinStyle
constructor
A new instance of JoinStyle.
- #set_line_join_style(*params) ⇒ Object
Methods inherited from PDF::Inspector
Constructor Details
#initialize ⇒ JoinStyle
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_style ⇒ Object (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_count ⇒ Object (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 |