class CTioga2::Graphics::Elements::PlotBasedElement
The base class for all dataset-based elements
Attributes
curve_style[RW]
A Styles::CurveStyle
object saying how the curve should be drawn.
dataset[RW]
The Data::Dataset
object that should get plotted.
Public Class Methods
new()
click to toggle source
Calls superclass method
CTioga2::Graphics::Elements::TiogaElement::new
# File lib/ctioga2/graphics/elements/element.rb, line 322 def initialize() super() end
Public Instance Methods
clipped()
click to toggle source
# File lib/ctioga2/graphics/elements/element.rb, line 312 def clipped return @curve_style.clipped end
depth()
click to toggle source
# File lib/ctioga2/graphics/elements/element.rb, line 318 def depth return @curve_style.depth end
location()
click to toggle source
Returns the LocationStyle object of the curve. Returns the one from curve_style
.
# File lib/ctioga2/graphics/elements/element.rb, line 306 def location return @curve_style.location end