Class: Processing::TextBounds
- Inherits:
-
Object
- Object
- Processing::TextBounds
- Defined in:
- lib/processing/font.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
52 53 54 |
# File 'lib/processing/font.rb', line 52 def h @h end |
#w ⇒ Object (readonly)
Width of bounding box
48 49 50 |
# File 'lib/processing/font.rb', line 48 def w @w end |
#x ⇒ Object (readonly)
Horizontal position
40 41 42 |
# File 'lib/processing/font.rb', line 40 def x @x end |
#y ⇒ Object (readonly)
Vertical position
44 45 46 |
# File 'lib/processing/font.rb', line 44 def y @y end |