Options
All
  • Public
  • Public/Protected
  • All
Menu

Draw options for basic geometry types like points, lines, polylines, surfaces and jscad meshes

Hierarchy

  • DrawBasicGeometryOptions

Index

Constructors

Properties

Constructors

constructor

  • new DrawBasicGeometryOptions(colours?: string | string[], size?: number, opacity?: number, updatable?: boolean, hidden?: boolean): DrawBasicGeometryOptions
  • Parameters

    • Optional colours: string | string[]
    • Optional size: number
    • Optional opacity: number
    • Optional updatable: boolean
    • Optional hidden: boolean

    Returns DrawBasicGeometryOptions

Properties

colours

colours: string | string[]

Basic geometry colours to use for lines, points, polylines, surfaces, jscad meshes.

default

#ff0000

hidden

hidden: boolean

Hidden

default

false

opacity

opacity: number

Opacity of the point 0 to 1

default

1

minimum

0

maximum

1

step

0.1

size

size: number

Size affect how big the drawn points are and how wide lines are.

default

0.1

minimum

0

maximum

Infinity

step

0.1

updatable

updatable: boolean

If geometry needs to be updated later

default

false

Generated using TypeDoc