Class: QgsFontTextureAtlasGenerator¶
Generates texture atlases for a font by efficiently packing the characters required for a set of strings.
Added in version 4.0.
Static Methods
Creates the texture atlas for a set of strings, using the specified text format. |
- class qgis._3d.QgsFontTextureAtlasGenerator[source]¶
Bases:
object- static create(format: QgsTextFormat, strings: Iterable[str | None]) QgsFontTextureAtlas[source]¶
Creates the texture atlas for a set of
strings, using the specified textformat.- Parameters:
format (QgsTextFormat)
strings (Iterable[Optional[str]])
- Return type: