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

Hierarchy

  • Ellipse

Implements

Index

Constructors

Properties

Constructors

constructor

  • new Ellipse(radiusX: number, radiusY: number, accuracy?: number): Ellipse
  • new Ellipse(origin: IPoint, radiusX: number, radiusY: number, accuracy?: number): Ellipse
  • new Ellipse(cx: number, cy: number, rx: number, ry: number, accuracy?: number): Ellipse
  • Class for Ellipse created with 2 radii.

    Parameters

    • 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 Ellipse

  • Class for Ellipse created at a specific origin and 2 radii.

    Parameters

    • origin: IPoint

      The center of the ellipse.

    • 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 Ellipse

  • Class for Ellipse created at a specific x, y and 2 radii.

    Parameters

    • cx: number

      The x coordinate of the center of the ellipse.

    • cy: number

      The y coordinate of the center of the ellipse.

    • rx: number
    • ry: number
    • Optional accuracy: number

      Optional accuracy of the underlying BezierCurve.

    Returns Ellipse

Properties

models

models: IModelMap

origin

origin: IPoint

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