Bitbybit Docs
    Preparing search index...

    Class PolylinePropertiesDto (Inputs.JSCAD)

    A polyline as a plain list of points, the form polygon.createFromPolyline, path.createFromPolyline and path.appendPolyline read; only X and Y of each point are used by them.

    Index

    Constructors

    Properties

    Constructors

    Properties

    points: Point3[]

    The corner points in order, given in 3D; JSCAD methods use only X and Y

    isClosed?: boolean

    Whether the last point joins back to the first; the JSCAD methods decide closure on their own and ignore this flag

    true

    color?: string | number[]

    A color carried along with the polyline for drawing, as a hex string or an RGB list; the JSCAD methods ignore it

    true