Class: Emfsvg::Svg::PathData::Command
- Inherits:
-
Struct
- Object
- Struct
- Emfsvg::Svg::PathData::Command
- Defined in:
- lib/emfsvg/svg/path_data/command.rb
Overview
One parsed SVG path command (e.g. "M 1 2" or "L 3 4").
letter preserves case (absolute uppercase vs relative lowercase).
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#letter ⇒ Object
Returns the value of attribute letter.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
8 9 10 |
# File 'lib/emfsvg/svg/path_data/command.rb', line 8 def args @args end |
#letter ⇒ Object
Returns the value of attribute letter
8 9 10 |
# File 'lib/emfsvg/svg/path_data/command.rb', line 8 def letter @letter end |
Instance Method Details
#absolute? ⇒ Boolean
9 10 11 |
# File 'lib/emfsvg/svg/path_data/command.rb', line 9 def absolute? letter == letter.upcase end |