Class: Prawn::SVG::Elements::TextComponent::Printable
- Inherits:
-
Struct
- Object
- Struct
- Prawn::SVG::Elements::TextComponent::Printable
- Defined in:
- lib/prawn/svg/elements/text_component.rb
Instance Attribute Summary collapse
-
#element ⇒ Object
Returns the value of attribute element.
-
#leading_space? ⇒ Object
Returns the value of attribute leading_space?.
-
#text ⇒ Object
Returns the value of attribute text.
-
#trailing_space? ⇒ Object
Returns the value of attribute trailing_space?.
Instance Attribute Details
#element ⇒ Object
Returns the value of attribute 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?
4 5 6 |
# File 'lib/prawn/svg/elements/text_component.rb', line 4
def leading_space?
@leading_space?
end
|
#text ⇒ Object
Returns the value of attribute 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?
4 5 6 |
# File 'lib/prawn/svg/elements/text_component.rb', line 4
def trailing_space?
@trailing_space?
end
|