API Docs for:
Show:

MathUtil Class

The mathUtil class is use to calculate lines

Methods

getBoundingRect

(
  • boundingBoxes
)
Rectangle

This method is use to calculate the size of the rectangle that contains bounding boxes.

Parameters:

Returns:

getEllipseArcRect

(
  • center
  • maxRadius
  • minRadius
  • orientation
  • startAngle
  • sweepAngle
)
Rectangle

This method is use to calculate the size of the rectangle that contains an ellipse arc.

Parameters:

  • center Point
  • maxRadius Number
  • minRadius Number
  • orientation Number
  • startAngle Number
  • sweepAngle Number

Returns:

getLineRect

(
  • firstPoint
  • lastPoint
)
Rectangle

This method is use to calculate the size of the rectangle that contains a line.

Parameters:

Returns: