Content:: Processor:: GlyphBox
Represents an (immutable) glyph box with positioning information.
Since the glyph may have been transformed by an affine matrix, the bounding box may not be a rectangle in all cases but it is always a parallelogram.
The code point representing the glyph.
The Unicode value of the code point.
Public Class Methods
Creates a new glyph box for the given code point/Unicode value pair with the lower left coordinate [llx, lly], the lower right coordinate [lrx, lry], and the upper left coordinate [ulx, uly].
Public Instance Methods
Returns the lower left coordinate
Returns the lower right coordinate
Returns the four corners of the box as an array of coordinates, starting with the lower left corner and going counterclockwise.
Returns the upper left coordinate
Returns the upper right coordinate which is computed by using the other three points of the parallelogram.