Skip to main content

interface.DrawVoid

API > DrawVoid

Interface: DrawVoid

Hole in a filled polygon

Properties

indicesOnScreen

indicesOnScreen?: number[]

Indices reffering to vertices3D and text if it is a list, -1 means an added empty text

Source

@novorender/measure/modules/draw/index.ts:55


vertices2D

vertices2D?: ReadonlyVec2[]

View space coordinates, in pixel values, empty if the entire part is out of view

Source

@novorender/measure/modules/draw/index.ts:51


vertices3D

vertices3D: ReadonlyVec3[]

World coordinates

Source

@novorender/measure/modules/draw/index.ts:53