|
$code
Character code corresponding to this glyph |
|
$top
Top edge location of the bounding recrangle of this glyph |
|
$right
Right edge location of the bounding recrangle of this glyph |
|
$bottom
Bottom edge location of the bounding recrangle of this glyph |
|
$left
Left edge location of the bounding recrangle of this glyph |
|
$advance
Advance of this glyph |
|
$lsb
Left side bearing of this glyph |
|
$rsb
Right side bearing of this glyph |
|
$tsb
Top side bearing of this glyph |
|
$bsb
Bottom side bearing of this glyph |
|
$width
Width of the bounding rectangle of this glyph |
|
$height
Height of the bounding rectangle of this glyph |
|
$vertical
Whether this represents vertical metrics |
|
$_advance
Advance of this glyph |
|
$_bottom
Bottom edge location of the bounding recrangle of this glyph |
|
$_code
Character code corresponding to this glyph |
|
$_left
Left edge location of the bounding recrangle of this glyph |
|
$_right
Right edge location of the bounding recrangle of this glyph |
|
$_top
Top edge location of the bounding recrangle of this glyph |
|
$_vertical
Whether this represents vertical metrics |
|
__construct (int $code, float $advance, float $top, float $right, float $bottom, float $left, [boolean $vertical = false])
The constructor |
float |
getAdvance ()
Returns the top edge location of the bounding recrangle of this glyph |
float |
getBsb ()
Returns the bottom side bearing of this glyph |
int |
getCode ()
Returns the character code corresponding to this glyph |
float |
getHeight ()
Returns the height of the bounding rectangle of this glyph |
float |
getLsb ()
Returns the left side bearing of this glyph |
float |
getRsb ()
Returns the right side bearing of this glyph |
float |
getTsb ()
Returns the top side bearing of this glyph |
float |
getWidth ()
Returns the width of the bounding rectangle of this glyph |
boolean |
isVertical ()
Determines whether this represents vertical metrics |
mixed |
__get (mixed $name)
|
string |
__toString ()
|
Advance of this glyph
protected float $_advance
Bottom edge location of the bounding recrangle of this glyph
protected float $_bottom
Character code corresponding to this glyph
protected int $_code
Left edge location of the bounding recrangle of this glyph
protected float $_left
Right edge location of the bounding recrangle of this glyph
protected float $_right
Top edge location of the bounding recrangle of this glyph
protected float $_top
Whether this represents vertical metrics
protected boolean $_vertical
The constructor
int $code
Character code corresponding to the glyph
float $advance
Advance of this glyph
float $top
Top edge location of the bounding recrangle
float $right
Right edge location of the bounding recrangle
float $bottom
Bottom edge location of the bounding recrangle
float $left
Left edge location of the bounding recrangle
boolean $vertical
Whether this represents vertical metrics
public __construct (int $code, float $advance, float $top, float $right, float $bottom, float $left, [boolean $vertical = false])
Returns the top edge location of the bounding recrangle of this glyph
public float getAdvance ()
Returns the bottom side bearing of this glyph
public float getBsb ()
Returns the character code corresponding to this glyph
public int getCode ()
Returns the height of the bounding rectangle of this glyph
public float getHeight ()
Returns the left side bearing of this glyph
public float getLsb ()
Returns the right side bearing of this glyph
public float getRsb ()
Returns the top side bearing of this glyph
public float getTsb ()
Returns the width of the bounding rectangle of this glyph
public float getWidth ()
Determines whether this represents vertical metrics
public boolean isVertical ()
mixed $name
public mixed __get (mixed $name)
public string __toString ()