Copyright © 2021 by K4.org
  (v.0.48.124)

The rendering support for Text.

Index

Rules

Rules

__mod3

__mod3: String

Internal Use Only.

Flags : Cached, External (Note this is uncached)

Expression : this.use3D ? R.THREE.makeText(this.refChain,this.text,this.height,this.font,this.fontUrl) : R.THREE.makeText2D(this.refChain,this.text,this.height,this.spec)

spec

spec: Any

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : if (this.resolution>200) R.message.warn(Text '${this.name}' resolution exceeding 200 is not recommended.); return Object.assign({font: this.font, fontFamily: this.fontFamily, hAlign: this.horizontalJustification, vAlign: this.verticalJustification, resolution: this.resolution, showBox: this.showBox, fillStyle: this.color, showOutline: this.showOutline}, this.fontSpec);

width

width: Number

This reports the actual width of the characters of the text.

Flags : Cached (Note this is uncached)

Expression : this.use3D ? R.THREE.getTextSpan(this.__mod3) : R.THREE.getTextSpan2D(this.__mod3)