Class: Magick::RVG::Tref
- Includes:
- TextLink
- Defined in:
- lib/rvg/text.rb
Overview
:nodoc:
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.
109 110 111 112 113 114 |
# File 'lib/rvg/text.rb', line 109 def initialize(obj, x, y, parent) @x, @y = Magick::RVG.convert_to_float(x, y, :allow_nil) super(nil) @tspans << obj @parent = parent end |