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

    Class DrawLineDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

      • Optionalline: LinePointsDto
      • Optionalopacity: number
      • Optionalcolours: string | string[]
      • Optionalsize: number
      • Optionalupdatable: boolean
      • OptionallineMesh: T

      Returns DrawLineDto<T>

    Properties

    Line

    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 this line will change in time

    false
    
    lineMesh?: T

    Line mesh variable in case it already exists and needs updating

    undefined