A class that exposes different helper methods.
The following tables list the members exposed by the Utilities type.
Name | Description | |
---|---|---|
Initializes a new instance of the Utilities class. |
Name | Description | |
---|---|---|
Calculates the point that marks the specified angle and belongs to the circumference with the specified center and radius. |
||
Calculates the rectangle that bounds the pie with the specified raidus and maximum width of labels at the right and left pie side. |
||
Converts the specified point from the Cartesian to the Polar coordinate system. |
||
A helper method. |
||
Overloaded. |
||
Creates a rounded rectangle with the specified location, width, height and corner radiuses. |
||
Calculates the distance between the specified two points. |
||
Overloaded. |
||
Formats the specified long value to a string that represents a DateTime. |
||
Checks if the line between the first two points intersects with the line between the last two points. |
||
Checks if the specified string is null or empty. |
||
Converts the coordinates of the specified rectangle to coordinates of the drawing coordinate system. |
||
Checks if the specified point is inside the ellipse defined by the specified Rectangle2D. |
||
Checks if the specified point is inside the portion of the pie defined by the specified bounding rectangle, angle and sweep angle. |
||
Checks if the specified point is inside the polygon defined by the specified array of points. |
||
Tests if the specified Point2D is inside the polygon defined by the specified array of points and the specified Rectangle2D. |
||
Checks if the specified Point2D is inside the specified Rectangle2D. |
||
Checks if the specified Point2D is inside the segment defined by the specified two Point2D instances. |
||
Rotates the specified Rectangle2D around the specified pivot point and at the specified angle. |
||
Applies the shell sorting algorithm on the specified data array. |
||
Applies the shell sorting algorithm on the X-values of the specified array of Point2D instances. |