# DynamicTextPage¶

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

__init__(param0: DynamicTextPage)
static getClassType()TypeHandle
getSize()LVecBase2i

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

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.