Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • DrawLinesDto

Index

Constructors

constructor

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

    Type parameters

    • T

    Parameters

    • Optional lines: LinePointsDto[]
    • Optional opacity: number
    • Optional colours: string | string[]
    • Optional size: number
    • Optional updatable: boolean
    • Optional linesMesh: T

    Returns DrawLinesDto<T>

Properties

colours

colours: string | string[]

Hex colour string

lines

lines: LinePointsDto[]

Lines

Optional linesMesh

linesMesh: 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 these lines will change in time

Generated using TypeDoc