Class: SVGPlot::RadialGradient

Inherits:
Gradient show all
Defined in:
lib/svgplot/gradient.rb

Overview

radial gradient element

Instance Attribute Summary

Attributes inherited from ChildTag

#img

Attributes inherited from Tag

#attributes, #children, #defaults, #tag

Instance Method Summary collapse

Methods inherited from Gradient

#fill, #stop

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

#expand

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