Class: RubySketch::Processing::TextBounds

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

Overview

Bounding box for text.

Instance Attribute Summary collapse

Instance Attribute Details

#hObject (readonly)

Height of bounding box



697
698
699
# File 'lib/rubysketch/processing.rb', line 697

def h
  @h
end

#wObject (readonly)

Width of bounding box



693
694
695
# File 'lib/rubysketch/processing.rb', line 693

def w
  @w
end

#xObject (readonly)

Horizontal position



685
686
687
# File 'lib/rubysketch/processing.rb', line 685

def x
  @x
end

#yObject (readonly)

Vertical position



689
690
691
# File 'lib/rubysketch/processing.rb', line 689

def y
  @y
end