Class Prawn::Document::BoundingBox
In: lib/prawn/document/bounding_box.rb
Parent: Object

Methods

Public Instance methods

Absolute bottom y-coordinate of the bottom box

Absolute bottom-left point of the bounding box

Absolute bottom-left point of the bounding box

Absolute left x-coordinate of the bounding box

Absolute right x-coordinate of the bounding box

Absolute top y-coordinate of the bounding box

Absolute top-left point of the bounding box

Absolute top-right point of the bounding box

The translated origin (x,y-height) which describes the location of the bottom left corner of the bounding box

Relative bottom y-coordinate of the bounding box (Always 0)

Relative bottom-left point of the bounding box

Relative bottom-right point of the bounding box

Height of the bounding box. If the box is ‘stretchy’ (unspecified height attribute), height is calculated as the distance from the top of the box to the current drawing position.

Relative left x-coordinate of the bounding box. (Always 0)

Relative right x-coordinate of the bounding box. (Equal to the box width)

Returns false when the box has a defined height, true when the height is being calculated on the fly based on the current vertical position.

Relative top y-coordinate of the bounding box. (Equal to the box height)

Relative top-left point of the bounding_box

Relative top-right point of the bounding box

Width of the bounding box

[Validate]