# 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 (opens new window)

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 (opens new window)

Parameters:

obj: object

Name Type
handleIn? AnyPoint2D
handleOut? AnyPoint2D
point AnyPoint2D

Returns: Segment

# Properties

# handleIn

handleIn: Point2D

Defined in segment.ts:5 (opens new window)


# handleOut

handleOut: Point2D

Defined in segment.ts:6 (opens new window)


# point

point: Point2D

Defined in segment.ts:4 (opens new window)