Class: Magick::RVG::Tref
- Includes:
- TextLink
- Defined in:
- lib/rvg/text.rb
Overview
module TextLink
Instance Method Summary collapse
-
#initialize(obj, x, y, parent) ⇒ Tref
constructor
A new instance of Tref.
Methods included from TextLink
#add_primitives, #cx, #cx=, #cy, #cy=
Methods inherited from TextBase
#add_primitives, #d, #rotate, #tspan
Methods included from Duplicatable
Methods included from Stylable
Constructor Details
#initialize(obj, x, y, parent) ⇒ Tref
Returns a new instance of Tref.
104 105 106 107 108 109 |
# File 'lib/rvg/text.rb', line 104 def initialize(obj, x, y, parent) @x, @y = Magick::RVG.convert_to_float(x, y, :allow_nil) super(nil) @tspans << obj @parent = parent end |