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 - EllipticArc Class

Hierarchy

  • EllipticArc

Implements

Index

Constructors

Properties

Constructors

constructor

  • new EllipticArc(startAngle: number, endAngle: number, radiusX: number, radiusY: number, accuracy?: number): EllipticArc
  • new EllipticArc(arc: IPathArc, distortX: number, distortY: number, accuracy?: number): EllipticArc
  • Class for Elliptic Arc created by distorting a circular arc.

    Parameters

    • startAngle: number
    • endAngle: number
    • radiusX: number

      The x radius of the ellipse.

    • radiusY: number

      The y radius of the ellipse.

    • Optional accuracy: number

      Optional accuracy of the underlying BezierCurve.

    Returns EllipticArc

  • Class for Elliptic Arc created by distorting a circular arc.

    Parameters

    • arc: IPathArc

      The circular arc to use as the basis of the elliptic arc.

    • distortX: number

      The x scale of the ellipse.

    • distortY: number

      The y scale of the ellipse.

    • Optional accuracy: number

      Optional accuracy of the underlying BezierCurve.

    Returns EllipticArc

Properties

models

models: IModelMap

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