Options
All
  • Public
  • Public/Protected
  • All
V1.7
  • V1.6
  • V1.7
Menu

Describes the bounding-box of a glyph within its tile.

Hierarchy

  • BoundingBox

Index

Constructors

constructor

  • new BoundingBox(xmin?: number, xmax?: number, ymin?: number, ymax?: number): BoundingBox
  • Preconditions: 0 <= xmin <= xmax and 0 <= ymin <= ymax.

    Parameters

    • Optional xmin: number
    • Optional xmax: number
    • Optional ymin: number
    • Optional ymax: number

    Returns BoundingBox

Properties

horizMax

horizMax: number

horizMin

horizMin: number

vertMax

vertMax: number

vertMin

vertMin: number

Methods

getAspectRatio

  • getAspectRatio(): number

getHeight

  • getHeight(): number

getWidth

  • getWidth(): number

toString

  • toString(): string

Generated using TypeDoc