Contains drawing-related helper functions.
The following tables list the members exposed by the DrawingUtils type.
Name | Description | |
---|---|---|
Approximates a Bezier curve with the given quality and by a series of line segments. |
||
Checks if the specified rectangle and circle intersect. |
||
Converts the specified value from radians to degrees. |
||
Calculates the shortest distance from the specified point to the specified polyline, also returning the index of the segment the point is closest to. |
||
Returns the point that lies on the outline of a rectangle and is nearest to the given point. |
||
Returns the center of the specified rectangle. |
||
Calculates the bounding rect of the specified polyline. |
||
Checks whether the segments defined by the specified point pairs intersect and returns the intersection point. |
||
Creates and returns an enlarged copy of a Rect instance. |
||
Determines whether the specified line segments intersect. |
||
Calculates the minimum distance between a given point and a given rectangle. |
||
Checks whether the specified circle contains the specified point. |
||
Checks whether the specified ellipse contains the specified point. |
||
Checks whether the specified rectangle contains the specified point. |
||
Converts the specified value from degrees to radians. |
||
Returns the smallest possible rectangle containing both of the specified rectangles. |