Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.

View project on GitHub Star

Api - Arc Class

Class for arc path.

Hierarchy

  • Arc

Implements

Index

Constructors

Properties

Constructors

constructor

  • new Arc(origin: IPoint, radius: number, startAngle: number, endAngle: number): Arc
  • new Arc(pointA: IPoint, pointB: IPoint, radius: number, largeArc: boolean, clockwise: boolean): Arc
  • new Arc(pointA: IPoint, pointB: IPoint, clockwise?: boolean): Arc
  • new Arc(pointA: IPoint, pointB: IPoint, pointC: IPoint): Arc
  • Class for arc path, created from origin point, radius, start angle, and end angle.

    Parameters

    • origin: IPoint

      The center point of the arc.

    • radius: number

      The radius of the arc.

    • startAngle: number

      The start angle of the arc.

    • endAngle: number

      The end angle of the arc.

    Returns Arc

  • Class for arc path, created from 2 points, radius, large Arc flag, and clockwise flag.

    Parameters

    • pointA: IPoint

      First end point of the arc.

    • pointB: IPoint

      Second end point of the arc.

    • radius: number

      The radius of the arc.

    • largeArc: boolean

      Boolean flag to indicate clockwise direction.

    • clockwise: boolean

      Boolean flag to indicate clockwise direction.

    Returns Arc

  • Class for arc path, created from 2 points and optional boolean flag indicating clockwise.

    Parameters

    • pointA: IPoint

      First end point of the arc.

    • pointB: IPoint

      Second end point of the arc.

    • Optional clockwise: boolean

      Boolean flag to indicate clockwise direction.

    Returns Arc

  • Class for arc path, created from 3 points.

    Parameters

    • pointA: IPoint

      First end point of the arc.

    • pointB: IPoint

      Second end point of the arc.

    • pointC: IPoint

      Second end point of the arc.

    Returns Arc

Properties

endAngle

endAngle: number

origin

origin: IPoint

radius

radius: number

startAngle

startAngle: number

type

type: string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy