VISU - PHP Game Framework

BitmapFontCharacter
in package

Table of Contents

Properties

$height  : int
$width  : int
$x  : int
$xAdvance  : int
$xOffset  : int
$y  : int
$yOffset  : int

Methods

__construct()  : mixed
Character constructor

Properties

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.


        
On this page

Search results