Class: Magick::RVG::Shape
- Inherits:
-
Object
- Object
- Magick::RVG::Shape
- Includes:
- Duplicatable, Stylable, Transformable
- Defined in:
- lib/rvg/embellishable.rb
Overview
Parent class of Circle, Ellipse, Text, etc.
Instance Method Summary collapse
-
#add_primitives(gc) ⇒ Object
Each shape can have its own set of transforms and styles.
Methods included from Duplicatable
Methods included from Transformable
#matrix, #rotate, #scale, #skewX, #skewY, #translate
Methods included from Stylable
Instance Method Details
#add_primitives(gc) ⇒ Object
Each shape can have its own set of transforms and styles.
14 15 16 17 18 19 20 |
# File 'lib/rvg/embellishable.rb', line 14 def add_primitives(gc) gc.push add_transform_primitives(gc) add_style_primitives(gc) gc.__send__(@primitive, *@args) gc.pop end |