Class: XRVG::Gradient

Inherits:
Palette show all
Defined in:
lib/color.rb

Overview

:nodoc:

Direct Known Subclasses

CircularGradient, LinearGradient

Instance Method Summary collapse

Methods inherited from Palette

#apply_sample, #build_interpolators, #color, #initialize, #interpolate, #interpolators, #interpoltype=, #reverse

Methods included from Interpolation

#compute_simplebezier, #getcurve, #interpolate, #interpoltype, #linear, #samplelist, #simplebezier

Methods included from Samplable

#apply_sample, #apply_samples, build, #mean, #sample, #samples

Methods included from FloatFunctor

#addfilter, #alternate, #apply, #applyhash, #compute, #filter, #generate, #geo, #geofull, #modify, #process, #random, #shuffle, #sin, #ssort, #transform, #transforms, #trigger

Constructor Details

This class inherits a constructor from XRVG::Palette

Instance Method Details

#defsvgObject

Raises:

  • (NotImplementedError)


360
361
362
# File 'lib/color.rb', line 360

def defsvg()
  raise NotImplementedError.new("#{self.class.name}#defsvg is an abstract method.")
end