Class: XRVG::Fuseau

Inherits:
Offset show all
Defined in:
lib/beziertools.rb

Overview

Fuseau bezier builder

Content

Just shortcut class for Offset with :ampl = (1.0..0.0)

Attributes

attribute :maxwidth, 0.1

Instance Method Summary collapse

Methods inherited from Offset

#points

Methods inherited from FitBezierBuilder

build

Methods inherited from BezierBuilder

[], build, #compute, lissage

Instance Method Details

#amplObject

overload Offset.ampl method by returning (self.maxwidth..0.0)



126
127
128
# File 'lib/beziertools.rb', line 126

def ampl
  return (self.maxwidth..0.0)
end