from panda3d.core import 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
static getClassType() → TypeHandle
Return type


getSize() → LVecBase2i

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

Return type


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.