Class: CTioga2::Graphics::Styles::CurveFillStyle
- Inherits:
-
FillStyle
- Object
- BasicStyle
- FillStyle
- CTioga2::Graphics::Styles::CurveFillStyle
- Defined in:
- lib/ctioga2/graphics/styles/drawable.rb
Overview
Same as FillStyle, but with additional parameters that handle how the fill should be applied to curves.
Constant Summary
Constants inherited from BasicStyle
Instance Attribute Summary collapse
-
#y0 ⇒ Object
At which Y value we should draw the horizontal line for the fill ? A float, or: * :top, :bottom * false, nil to disable filling altogether.
Attributes inherited from FillStyle
Method Summary
Methods inherited from FillStyle
Methods inherited from BasicStyle
attr_accessor, attributes, from_hash, #instance_variable_defined?, #set_from_hash, #to_hash, #update_from_other
Instance Attribute Details
#y0 ⇒ Object
At which Y value we should draw the horizontal line for the fill ? A float, or:
-
:top, :bottom
-
false, nil to disable filling altogether
139 140 141 |
# File 'lib/ctioga2/graphics/styles/drawable.rb', line 139 def y0 @y0 end |