--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Return a hash describing the rectangle that would enclose the given string rendered in this font at the given angle. The returned hash contains the following keys:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: ":lower_left =&gt; The [x, y] coordinates of the lower left corner."
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: ":lower_right =&gt; The [x, y] coordinates of the lower right corner."
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: ":upper_right =&gt; The [x, y] coordinates of the upper right corner."
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: ":upper_left =&gt; The [x, y] coordinates of the upper left corner."
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: ":position =&gt; An array of floating point character position offsets for each character of the <tt>string</tt>, beginning with 0.0. The array also includes a final position indicating where the last character ends."
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: The <em>upper</em>, <em>lower</em>, <em>left</em>, and <em>right</em> references are relative to the text of the <tt>string</tt>, regardless of the <tt>angle</tt>.
full_name: GD2::Font::TrueType#bounding_rectangle
is_singleton: false
name: bounding_rectangle
params: (string, angle = 0.0)
visibility: public
