Bitbybit Docs
    Bereite Suchindex vor...

    Klasse DrawPolylineDto<T> (Inputs.Polyline)

    One polyline and how to draw it: its width, color and opacity, and whether the drawn mesh will be updated later.

    Typenparameter

    • T
    Index

    Konstruktoren

    • Provide options without default values

      Typenparameter

      • T

      Parameter

      Rückgabewert DrawPolylineDto<T>

    Eigenschaften

    The polyline to draw, with its points and closed flag.

    undefined
    
    opacity?: number

    How opaque the line is, from 0 (invisible) to 1 (solid).

    1
    

    0

    1

    0.1

    colours?: string | string[]

    Color of the line as a hex text such as #ff0000; a list of texts is also accepted.

    #444444
    
    size?: number

    Width of the drawn line.

    3
    

    0

    Infinity

    0.1

    updatable?: boolean

    When true, the drawn mesh is built so its points can be changed later without redrawing.

    false
    
    polylineMesh?: T

    A mesh drawn earlier for this polyline; when given it is updated in place instead of a new one being made.

    undefined
    

    true