MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils Methods
Collapse All Expand All Members Options: Show All Members Options: Filtered

Include Inherited Members
Include Protected Members

## Public Methods

| Name | Description
--- | --- | ---
| approximateBezier | Approximates a Bezier curve with the given quality and by a series of line segments.
| checkIntersect | Checks if the specified rectangle and circle intersect.
| degrees | Converts the specified value from radians to degrees.
| distToPolyline | Calculates the shortest distance from the specified point to the specified polyline, also returning the index of the segment the point is closest to.
| distToRectPoint | Returns the point that lies on the outline of a rectangle and is nearest to the given point.
| getCenter | Returns the center of the specified rectangle.
| getPointsBounds | Calculates the bounding rect of the specified polyline.
| getSegmentIntersection | Checks whether the segments defined by the specified point pairs intersect and returns the intersection point.
| inflate | Creates and returns an enlarged copy of a Rect instance.
| intersect | Determines whether the specified line segments intersect.
| minDistToRect | Calculates the minimum distance between a given point and a given rectangle.
| pointInCircle | Checks whether the specified circle contains the specified point.
| pointInEllipse | Checks whether the specified ellipse contains the specified point.
| pointInPolygon | Checks whether the specified rectangle contains the specified point.
| radians | Converts the specified value from degrees to radians.
| unionRects | Returns the smallest possible rectangle containing both of the specified rectangles.

## See Also

DrawingUtils Class
MindFusion.Drawing Namespace