h2d.HtmlText
h2d.HtmlText
Inherits from: h2d.Text
Fields
| Name | Type | |
|---|---|---|
elements | hl.types.ArrayObj | |
xPos | I32 | |
yPos | I32 | |
xMax | I32 | |
xMin | I32 | |
sizePos | I32 | |
dropMatrix | h3d.shader.ColorMatrix | |
prevChar | I32 | |
loadImage | Fun | |
loadFont | Fun | |
| static | REG_SPACES | EReg |
| static | REG_HTMLENTITIES | EReg |
Protos
f@3396draw(h2d.HtmlText, h2d.RenderContext) → Voidf@3399initGlyphs(h2d.HtmlText, String, Ref, Ref, hl.types.ArrayBytes_Int) → Voidf@3400buildSizes(h2d.HtmlText, Xml, hl.types.ArrayBytes_Int) → Voidf@3401htmlToText(h2d.HtmlText, String) → Stringf@3402remainingSize(h2d.HtmlText, hl.types.ArrayBytes_Int) → I32f@3403addNode(h2d.HtmlText, Xml, h2d.Font, Bool, Bool, hl.types.ArrayBytes_Int, hl.types.ArrayBytes_Int) → Voidf@3404set_textColor(h2d.HtmlText, I32) → I32f@3405getBoundsRec(h2d.HtmlText, h2d.Object, h2d.col.Bounds, Bool) → Void
Bindings
f@3398loadFont(h2d.HtmlText, String) → h2d.Fontf@3397loadImage(h2d.HtmlText, String) → h2d.Tile- static
f@3406__constructor__(h2d.HtmlText, h2d.Font, h2d.Object) → Void