--- layout: posts title: Api - ISlope Interface ---

Slope and y-intercept of a line.

Hierarchy

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.

Generated using TypeDoc