DynamicTextGlyph¶
-
class DynamicTextGlyph¶
Bases:
TextGlyphA specialization on
TextGlyphthat is generated and stored by aDynamicTextFont. This keeps some additional information, such as where the glyph appears on a texture map.Inheritance diagram
digraph inheritance6e9e72bf29 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "DynamicTextGlyph" [URL="acron.core.DynamicTextGlyph.html#acron.core.DynamicTextGlyph",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TextGlyph" -> "DynamicTextGlyph" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TextGlyph" [URL="acron.core.TextGlyph.html#acron.core.TextGlyph",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "TextGlyph" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }- DynamicTextGlyph.get_bottom()¶
Returns the vertex coordinates that can be used when creating a custom text renderer.
- static DynamicTextGlyph.get_class_type()¶
- DynamicTextGlyph.get_left()¶
Returns the vertex coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.get_page()¶
Returns the
DynamicTextPagethat this glyph is on.
- DynamicTextGlyph.get_right()¶
Returns the vertex coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.get_top()¶
Returns the vertex coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.get_uv_bottom()¶
Returns the UV coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.get_uv_left()¶
Returns the UV coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.get_uv_right()¶
Returns the UV coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.get_uv_top()¶
Returns the UV coordinates that can be used when creating a custom text renderer.
- DynamicTextGlyph.intersects()¶
Returns true if the particular position this glyph has been assigned to overlaps the rectangle whose top left corner is at x, y and whose size is given by x_size, y_size, or false otherwise.