bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class DrawLinesDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

      • Optionallines: LinePointsDto[]
      • Optionalopacity: number
      • Optionalcolours: string | string[]
      • Optionalsize: number
      • Optionalupdatable: boolean
      • OptionallinesMesh: T

      Returns DrawLinesDto<T>

    Properties

    lines?: LinePointsDto[]

    Lines

    undefined
    
    opacity?: number

    Value between 0 and 1

    1
    

    0

    1

    0.1

    colours?: string | string[]

    Hex colour string

    #444444
    
    size?: number

    Width of the line

    3
    

    0

    Infinity

    0.1

    updatable?: boolean

    Indicates wether the position of these lines will change in time

    false
    
    linesMesh?: T

    Line mesh variable in case it already exists and needs updating

    undefined