Class: PDF::Charts::StdDev::Marker

Inherits:
Object
  • Object
show all
Defined in:
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

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Marker

Returns a new instance of Marker.

Yields:

  • (_self)

Yield Parameters:



99
100
101
# File 'lib/pdf/charts/stddev.rb', line 99

def initialize
  yield self if block_given?
end

Instance Attribute Details

#colorObject

The stroke color of the marker.



106
107
108
# File 'lib/pdf/charts/stddev.rb', line 106

def color
  @color
end

#styleObject

The stroke style of the marker.



104
105
106
# File 'lib/pdf/charts/stddev.rb', line 104

def style
  @style
end