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

colours

colours: string | string[]

Hex colour string

line

Line

Optional lineMesh

lineMesh: T

Line mesh variable in case it already exists and needs updating

opacity

opacity: number

Value between 0 and 1

size

size: number

Width of the line

updatable

updatable: boolean

Indicates wether the position of this line will change in time

Generated using TypeDoc