Class: Prawn::SVG::Elements::TextNode::Chunk

Inherits:
Struct
  • Object
show all
Defined in:
lib/prawn/svg/elements/text_node.rb

Instance Attribute Summary collapse

Instance Attribute Details

#base_widthObject

Returns the value of attribute base_width

Returns:

  • (Object)

    the current value of base_width



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def base_width
  @base_width
end

#dxObject

Returns the value of attribute dx

Returns:

  • (Object)

    the current value of dx



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def dx
  @dx
end

#dyObject

Returns the value of attribute dy

Returns:

  • (Object)

    the current value of dy



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def dy
  @dy
end

#fixed_widthObject

Returns the value of attribute fixed_width

Returns:

  • (Object)

    the current value of fixed_width



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def fixed_width
  @fixed_width
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def offset
  @offset
end

#rotateObject

Returns the value of attribute rotate

Returns:

  • (Object)

    the current value of rotate



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def rotate
  @rotate
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def text
  @text
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



3
4
5
# File 'lib/prawn/svg/elements/text_node.rb', line 3

def y
  @y
end