Havn
PlatformLoreDocs Sign in
KernelBosonHintLore
  • Start here 3
  • Camera 12
  • Selection 6
  • Visibility 4
  • Display 3
  • Render 3
  • Materials 2
  • Painterly brushes 3
  • Edges 2
  • Section box 4
  • Properties 4
  • Semantic camera 3
  • Scene info 4
  • Interaction 8
  • Text 2
    • get_text_layout
    • get_fonts
  • Batch 1
  • Contract 1

Nothing in Boson matches.

Docs/ Boson

Text

2 pages

  • get_text_layout The layout of drawn text nodeId (a 2D text shape or a 3D label) in its own frame and units of its font size, x right and y down: { revision, width, height, firstBaseline, inkBounds, lines: [{ start, end, x, top, baseline, width, trailing, rtl }], missing, missingCount } (offsets in UTF-16 units; missing: the first 16 code points no registered font maps).
  • get_fonts The font families the host registered: [{ fontKey, faces: [{ weight (a variable face: its [min, max] wght range), italic, variable }], synthetic (styles drawn by shearing or emboldening), fallback, state: loading | ready | failed }].
PreviousInteraction NextBatch
Havn Platform Lore Docs