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:


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

def initialize
  yield self if block_given?
end

Instance Attribute Details

#colorObject

The stroke color of the marker.


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

def color
  @color
end

#styleObject

The stroke style of the marker.


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

def style
  @style
end