Class: CTioga2::Graphics::Styles::CurveFillStyle

Inherits:
FillStyle show all
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

BasicStyle::OldAttrAccessor

Instance Attribute Summary collapse

Attributes inherited from FillStyle

#color, #transparency

Method Summary

Methods inherited from FillStyle

#do_fill, #setup_fill

Methods inherited from BasicStyle

attr_accessor, attributes, from_hash, #instance_variable_defined?, #set_from_hash, #to_hash, #update_from_other

Instance Attribute Details

#y0Object

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