Class: Magick::RVG::Path

Inherits:
Shape
  • Object
show all
Defined in:
lib/rvg/embellishable.rb

Overview

class Line

Instance Method Summary collapse

Methods included from Duplicatable

#deep_copy

Methods included from Transformable

#matrix, #rotate, #scale, #skewX, #skewY, #translate

Methods included from Stylable

#styles

Constructor Details

#initialize(path) ⇒ Path

Define an SVG path. The argument can be either a path string or a PathData object. Use the RVG::ShapeConstructors#path method to create Path objects in a container.



66
67
68
69
70
# File 'lib/rvg/embellishable.rb', line 66

def initialize(path)
  super()
  @primitive = :path
  @args = [path.to_s]
end