class Magick::RVG::Tspan

@private

Attributes

parent[RW]

Public Class Methods

new(text = nil, x = nil, y = nil, &block) click to toggle source

Define a text segment starting at (x, y). If x and y are omitted the segment starts at the current text position.

Tspan objects can contain Tspan objects.

Calls superclass method Magick::RVG::TextBase::new
# File lib/rvg/text.rb, line 125
def initialize(text = nil, x = nil, y = nil, &block)
  @x, @y = Magick::RVG.convert_to_float(x, y, :allow_nil)
  super(text, &block)
end