Class: Processing::TextBounds

Inherits:
Object
  • Object
show all
Defined in:
lib/processing/font.rb

Overview

Bounding box for text.

Instance Attribute Summary collapse

Instance Attribute Details

#hObject (readonly)

Height of bounding box



52
53
54
# File 'lib/processing/font.rb', line 52

def h
  @h
end

#wObject (readonly)

Width of bounding box



48
49
50
# File 'lib/processing/font.rb', line 48

def w
  @w
end

#xObject (readonly)

Horizontal position



40
41
42
# File 'lib/processing/font.rb', line 40

def x
  @x
end

#yObject (readonly)

Vertical position



44
45
46
# File 'lib/processing/font.rb', line 44

def y
  @y
end