BitmapFontCharacter
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Character constructor
Properties
$height
public
int
$height
$width
public
int
$width
$x
public
int
$x
$xAdvance
public
int
$xAdvance
$xOffset
public
int
$xOffset
$y
public
int
$y
$yOffset
public
int
$yOffset
Methods
__construct()
Character constructor
public
__construct(int $x, int $y, int $width, int $height, int $xOffset, int $yOffset, int $xAdvance) : mixed
Parameters
- $x : int
-
The X position of the character in the font texture.
- $y : int
-
The Y position of the character in the font texture.
- $width : int
-
The width of the character in the font texture.
- $height : int
-
The height of the character in the font texture.
- $xOffset : int
-
The X offset that should be applied when rendering the character.
- $yOffset : int
-
The Y offset that should be applied when rendering the character.
- $xAdvance : int
-
The X advance that should be applied for the next character.