4.1.3.15. TextVertexArray

This modules provides tools to manage text.

class PyOpenGLng.HighLevelApi.TextVertexArray.TextVertexArray(image_texture)[source]

Bases: PyOpenGLng.HighLevelApi.VertexArrayObject.GlVertexArrayObject

This class wraps a Text Vertex Array.

_create_arrays(number_of_vertexes)[source]
_logger = <logging.Logger object at 0x5b0b5d0>
_uv_vbo = None
add(text, font_size, colour=(1.0, 1.0, 1.0, 1.0), x=0, y=0, anchor_x='left', anchor_y='baseline')[source]
bind_to_shader(shader_program_interface)[source]
draw(shader_program)[source]
upload()[source]

Previous topic

4.1.3.14. StippleTexture

Next topic

4.1.3.16. TextureAtlas

This Page