DynamicTextPage

from panda3d.core import DynamicTextPage
class DynamicTextPage

Bases:

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)
static get_class_type() TypeHandle
get_size() LVecBase2i

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

get_x_size() int

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

get_y_size() int

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

is_empty() bool

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