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 - ISlope Interface

Slope and y-intercept of a line.

Hierarchy

  • ISlope

Index

Properties

hasSlope

hasSlope: boolean

Boolean to see if line has slope or is vertical.

line

line: IPathLine

Line used to calculate this slope.

Optional slope

slope: number

Optional value of non-vertical slope.

Optional yIntercept

yIntercept: number

Optional value of y when x = 0.

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