Class: Prawn::SVG::Elements::TextComponent::Printable

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

Instance Attribute Summary collapse

Instance Attribute Details

#elementObject

Returns the value of attribute element

Returns:

  • (Object)

    the current value of element



4
5
6
# File 'lib/prawn/svg/elements/text_component.rb', line 4

def element
  @element
end

#leading_space?Object

Returns the value of attribute leading_space?

Returns:

  • (Object)

    the current value of leading_space?



4
5
6
# File 'lib/prawn/svg/elements/text_component.rb', line 4

def leading_space?
  @leading_space?
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



4
5
6
# File 'lib/prawn/svg/elements/text_component.rb', line 4

def text
  @text
end

#trailing_space?Object

Returns the value of attribute trailing_space?

Returns:

  • (Object)

    the current value of trailing_space?



4
5
6
# File 'lib/prawn/svg/elements/text_component.rb', line 4

def trailing_space?
  @trailing_space?
end