Class: RubySketch::Processing::TextBounds
- Inherits:
-
Object
- Object
- RubySketch::Processing::TextBounds
- Defined in:
- lib/rubysketch/processing.rb
Overview
Bounding box for text.
Instance Attribute Summary collapse
-
#h ⇒ Object
readonly
Height of bounding box.
-
#w ⇒ Object
readonly
Width of bounding box.
-
#x ⇒ Object
readonly
Horizontal position.
-
#y ⇒ Object
readonly
Vertical position.
Instance Attribute Details
#h ⇒ Object (readonly)
Height of bounding box
697 698 699 |
# File 'lib/rubysketch/processing.rb', line 697 def h @h end |
#w ⇒ Object (readonly)
Width of bounding box
693 694 695 |
# File 'lib/rubysketch/processing.rb', line 693 def w @w end |
#x ⇒ Object (readonly)
Horizontal position
685 686 687 |
# File 'lib/rubysketch/processing.rb', line 685 def x @x end |
#y ⇒ Object (readonly)
Vertical position
689 690 691 |
# File 'lib/rubysketch/processing.rb', line 689 def y @y end |