Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class JSCADPolygon

Hierarchy

  • JSCADPolygon

Index

Constructors

constructor

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

    • jscadWorkerManager: JSCADWorkerManager

    Returns JSCADPolygon

Methods

circle

  • Create a 2D polygon circle

    group

    primitives

    shortname

    circle

    drawable

    true

    Parameters

    Returns Promise<any>

    Circle polygon

createFromCurve

  • createFromCurve(inputs: CurveDto): Promise<any>
  • Create a 2D polygon from a curve

    group

    from

    shortname

    curve

    drawable

    true

    Parameters

    Returns Promise<any>

    Polygon

createFromPath

  • createFromPath(inputs: PathDto): Promise<any>
  • Create a 2D polygon from a path

    group

    from

    shortname

    path

    drawable

    true

    Parameters

    Returns Promise<any>

    Polygon

createFromPoints

  • createFromPoints(inputs: PointsDto): Promise<any>
  • Create a 2D polygon from a list of points

    group

    from

    shortname

    polygon from points

    drawable

    true

    Parameters

    Returns Promise<any>

    Polygons

createFromPolyline

  • createFromPolyline(inputs: PolylineDto): Promise<any>
  • Create a 2D polygon from a polyline

    group

    from

    shortname

    polyline

    drawable

    true

    Parameters

    Returns Promise<any>

    Polygon

ellipse

  • Create a 2D polygon ellipse

    group

    primitives

    shortname

    ellipse

    drawable

    true

    Parameters

    Returns Promise<any>

    Ellipse polygon

rectangle

  • Create a 2D polygon rectangle

    group

    primitives

    shortname

    rectangle

    drawable

    true

    Parameters

    Returns Promise<any>

    Rectangle polygon

roundedRectangle

  • Create a 2D rounded rectangle

    group

    primitives

    shortname

    rounded rectangle

    drawable

    true

    Parameters

    Returns Promise<any>

    Rounded rectangle polygon

square

  • Create a 2D polygon square

    group

    primitives

    shortname

    square

    drawable

    true

    Parameters

    Returns Promise<any>

    Square polygon

star

  • star(inputs: StarDto): Promise<any>
  • Create a 2D polygon star

    group

    primitives

    shortname

    star

    drawable

    true

    Parameters

    Returns Promise<any>

    Star polygon

Generated using TypeDoc