Class: SVGPlot::RadialGradient
- Defined in:
- lib/svgplot/gradient.rb
Overview
radial gradient element
Instance Attribute Summary
Attributes inherited from ChildTag
Attributes inherited from Tag
#attributes, #children, #defaults, #tag
Instance Method Summary collapse
-
#initialize(img, attributes = {}, &block) ⇒ RadialGradient
constructor
A new instance of RadialGradient.
Methods inherited from Gradient
Methods inherited from ChildTag
#linear_gradient, #radial_gradient
Methods inherited from Tag
#append_child, #method_missing, #path, #raw, #respond_to?, #spawn_child, #to_s, #use, #write
Methods included from Expansion
Methods included from Transform
#matrix, #rotate, #scale, #skew_x, #skew_y, #translate
Constructor Details
#initialize(img, attributes = {}, &block) ⇒ RadialGradient
Returns a new instance of RadialGradient.
33 34 35 |
# File 'lib/svgplot/gradient.rb', line 33 def initialize(img, attributes = {}, &block) super(img, 'radialGradient', attributes, &block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SVGPlot::Tag