Skip to content

h2d.HtmlText

h2d.HtmlText

Inherits from: h2d.Text

Fields

NameType
elementshl.types.ArrayObj
xPosI32
yPosI32
xMaxI32
xMinI32
sizePosI32
dropMatrixh3d.shader.ColorMatrix
prevCharI32
loadImageFun
loadFontFun
staticREG_SPACESEReg
staticREG_HTMLENTITIESEReg

Protos

  • f@3396 draw(h2d.HtmlText, h2d.RenderContext) → Void
  • f@3399 initGlyphs(h2d.HtmlText, String, Ref, Ref, hl.types.ArrayBytes_Int) → Void
  • f@3400 buildSizes(h2d.HtmlText, Xml, hl.types.ArrayBytes_Int) → Void
  • f@3401 htmlToText(h2d.HtmlText, String) → String
  • f@3402 remainingSize(h2d.HtmlText, hl.types.ArrayBytes_Int) → I32
  • f@3403 addNode(h2d.HtmlText, Xml, h2d.Font, Bool, Bool, hl.types.ArrayBytes_Int, hl.types.ArrayBytes_Int) → Void
  • f@3404 set_textColor(h2d.HtmlText, I32) → I32
  • f@3405 getBoundsRec(h2d.HtmlText, h2d.Object, h2d.col.Bounds, Bool) → Void

Bindings

  • f@3398 loadFont(h2d.HtmlText, String) → h2d.Font
  • f@3397 loadImage(h2d.HtmlText, String) → h2d.Tile
  • static f@3406 __constructor__(h2d.HtmlText, h2d.Font, h2d.Object) → Void