Class: Rasem::SVGLinearGradient

Inherits:
SVGGradient show all
Defined in:
lib/rasem/svg_image.rb

Overview

SVG linear gradient element

Instance Attribute Summary

Attributes inherited from SVGTagWithParent

#img

Attributes inherited from SVGTag

#attributes, #children, #tag

Instance Method Summary collapse

Methods inherited from SVGGradient

#fill, #stop

Methods inherited from SVGTag

#append_child, #linearGradient, #lines, #matrix, #merge_defaults, #method_missing, #path, #pop_defaults, #push_defaults, #radialGradient, #raw, #rotate, #scale, #skewX, #skewY, #spawn_child, #to_s, #translate, #use, #validate_attribute, #validate_attributes, #validate_child_name, #validate_tag, #with_style, #write, #write_points, #write_styles, #write_transforms

Constructor Details

#initialize(img, attributes = {}, &block) ⇒ SVGLinearGradient


754
755
756
# File 'lib/rasem/svg_image.rb', line 754

def initialize(img, attributes={}, &block)
  super(img, "linearGradient", attributes, &block)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rasem::SVGTag