Bitbybit Docs
    Bereite Suchindex vor...

    Klasse DrawPolylinesDto<T> (Inputs.Polyline)

    A list of polylines and how to draw them: their width, colors 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 DrawPolylinesDto<T>

    Eigenschaften

    The polylines to draw, each with its points and closed flag.

    undefined
    
    opacity?: number

    How opaque the lines are, from 0 (invisible) to 1 (solid).

    1
    

    0

    1

    0.1

    colours?: string | string[]

    One hex color text for all polylines, or one text per polyline.

    #444444
    
    size?: number

    Width of the drawn lines.

    3
    

    0

    Infinity

    0.1

    updatable?: boolean

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

    false
    
    polylinesMesh?: T

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

    undefined
    

    true