TextBlockGeometryPropsEntry Type

TextBlockGeometryPropsEntry = { color?: never, separator?: never, text: TextStringProps } | { color?: never, separator: { endPoint: XYZProps, startPoint: XYZProps }, text?: never } | { color: TextStyleColor, separator?: never, text?: never }

A single entry in a TextBlockGeometryProps, representing one of the following primitive types:

  • A TextString,
  • A fraction separator described by a LineSegment3d, or
  • A change in color, to be applied to all subsequent primitives.

Defined in

Last Updated: 23 November, 2024