Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSCADPath

Index

Constructors

constructor

  • new JSCADPath(jscadWorkerManager: JSCADWorkerManager): JSCADPath
  • Parameters

    • jscadWorkerManager: JSCADWorkerManager

    Returns JSCADPath

Methods

appendArc

  • Append the arc to the path

    group

    append

    shortname

    arc

    drawable

    true

    Parameters

    Returns Promise<any>

    Appended path

appendPoints

  • Append the path with 2D points

    group

    append

    shortname

    points

    drawable

    true

    Parameters

    Returns Promise<any>

    Appended path

appendPolyline

  • Append the path with polyline

    group

    append

    shortname

    polyline

    drawable

    true

    Parameters

    Returns Promise<any>

    Appended path

close

  • close(inputs: PathDto): Promise<any>
  • Closes an open 2D path

    group

    edit

    shortname

    close

    drawable

    true

    Parameters

    Returns Promise<any>

    Closed path

createEmpty

  • createEmpty(): Promise<any>
  • Create empty 2D path

    group

    create

    shortname

    empty

    drawable

    false

    Returns Promise<any>

    Empty path

createFromPoints

  • Create a 2D path from a list of points

    group

    from

    shortname

    points

    drawable

    true

    Parameters

    Returns Promise<any>

    Path

createFromPolyline

  • Create a 2D path from a polyline

    group

    from

    shortname

    polyline

    drawable

    true

    Parameters

    Returns Promise<any>

    Path

createPathsFromPoints

  • Create 2D paths from a lists of points

    group

    from

    shortname

    paths from points

    drawable

    true

    Parameters

    Returns Promise<any[]>

    Paths

Generated using TypeDoc