Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • DrawLineDto

Index

Constructors

constructor

  • new DrawLineDto<T>(line?: LinePointsDto, opacity?: number, colours?: string | string[], size?: number, updatable?: boolean, lineMesh?: T): DrawLineDto<T>
  • Provide options without default values

    Type parameters

    • T

    Parameters

    • Optional line: LinePointsDto
    • Optional opacity: number
    • Optional colours: string | string[]
    • Optional size: number
    • Optional updatable: boolean
    • Optional lineMesh: T

    Returns DrawLineDto<T>

Properties

Optional colours

colours: string | string[]

Hex colour string

default

#444444

Optional line

Line

default

undefined

Optional lineMesh

lineMesh: T

Line mesh variable in case it already exists and needs updating

default

undefined

Optional opacity

opacity: number

Value between 0 and 1

default

1

minimum

0

maximum

1

step

0.1

Optional size

size: number

Width of the line

default

3

minimum

0

maximum

Infinity

step

0.1

Optional updatable

updatable: boolean

Indicates wether the position of this line will change in time

default

false

Generated using TypeDoc