# Class: Segment

# Hierarchy

  • Segment

# Constructors

# constructor

+ new Segment(x: number, y: number, inX?: undefined | number, inY?: undefined | number, outX?: undefined | number, outY?: undefined | number): Segment

Defined in segment.ts:6

Parameters:

Name Type
x number
y number
inX? undefined | number
inY? undefined | number
outX? undefined | number
outY? undefined | number

Returns: Segment

+ new Segment(obj: object): Segment

Defined in segment.ts:15

Parameters:

obj: object

Name Type
handleIn? AnyPoint2D
handleOut? AnyPoint2D
point AnyPoint2D

Returns: Segment

# Properties

# handleIn

handleIn: Point2D

Defined in segment.ts:5


# handleOut

handleOut: Point2D

Defined in segment.ts:6


# point

point: Point2D

Defined in segment.ts:4