Class: PDF::Charts::StdDev::Marker
- Inherits:
-
Object
- Object
- PDF::Charts::StdDev::Marker
- Defined in:
- lib/gems/pdf-writer-1.1.8/lib/pdf/charts/stddev.rb
Overview
This is any line that will be drawn; this is a combination of the line style (which must be a PDF::Writer::StrokeStyle object) and a color.
Instance Attribute Summary collapse
-
#color ⇒ Object
The stroke color of the marker.
-
#style ⇒ Object
The stroke style of the marker.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Marker
constructor
A new instance of Marker.
Constructor Details
#initialize {|_self| ... } ⇒ Marker
Returns a new instance of Marker.
99 100 101 |
# File 'lib/gems/pdf-writer-1.1.8/lib/pdf/charts/stddev.rb', line 99 def initialize yield self if block_given? end |
Instance Attribute Details
#color ⇒ Object
The stroke color of the marker.
106 107 108 |
# File 'lib/gems/pdf-writer-1.1.8/lib/pdf/charts/stddev.rb', line 106 def color @color end |
#style ⇒ Object
The stroke style of the marker.
104 105 106 |
# File 'lib/gems/pdf-writer-1.1.8/lib/pdf/charts/stddev.rb', line 104 def style @style end |