panda3d.core.DynamicTextPage

class DynamicTextPage

Bases: Texture

A single “page” of a DynamicTextFont. This is a single texture that holds a number of glyphs for rendering. The font starts out with one page, and will add more as it needs them.

Inheritance diagram

Inheritance diagram of DynamicTextPage

__init__(param0: DynamicTextPage) → None
getSize() → LVecBase2i

Returns the size of the page (texture), in pixels.

Return type

LVecBase2i

getXSize() → int

Returns the x size of the page (texture), in pixels.

getYSize() → int

Returns the y size of the page (texture), in pixels.

isEmpty() → bool

Returns true if the page has no glyphs, false otherwise.

static getClassType() → TypeHandle
Return type

TypeHandle