GlyphRectConstructor

Cambiar al Manual
public GlyphRect (int x, int y, int width, int height);
public GlyphRect (Rect rect);

Parámetros

xThe x position of the glyph in the atlas texture.
yThe y position of the glyph in the atlas texture.
widthThe width of the glyph.
heightThe height of the glyph.
rectThe Rect used to construct the new GlyphRect.

Descripción

Constructor for a new GlyphRect.