Contains common helper methods.
The following tables list the members exposed by the Utilities type.
Name | Description | |
---|---|---|
Overloaded. |
||
Adds a Bezier curve to the specified PathFigure. |
||
Adds a series of Bezier curves to the specified PathFigure. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. |
||
Approximates an arc by a series of line segments. |
||
Overloaded. |
||
Overloaded. |
||
Returns the point that lies on an ellipse bounded by the specified rectangle at the specified angle. |
||
Returns the bottom left point of the specified rectangle. |
||
Returns the bottom right point of the specified rectangle. |
||
Calculates the bezier coefficients in the equation of the specified bezier curve. |
||
Converts Cartesian coordinates to the corresponding polar coordinates, using the specified point as a center of the coordinate system. |
||
Determines, given three points, if when travelling from the first to the second to the third, we travel in a counterclockwise direction. |
||
Returns the center of the specified rectangle. |
||
Checks if the specified rectangle and circle intersect. |
||
Overloaded. |
||
Checks whether the specified hashtable contains the specified key. |
||
Converts the specified value from degrees to radians. |
||
Overloaded. |
||
Calculates the square of the distance between the specified points. |
||
Returns the distance from a point to a line. |
||
Returns the squared distance between the specified points. |
||
Returns the distance from a point to a line segment. |
||
Returns the squared distance from a point to a line segment. |
||
Calculates the shortest distance from the specified point to the specified bezier curve. |
||
Overloaded. |
||
Returns the nearest to pt point that lies on the outline of rectangle. |
||
For internal use. |
||
Creates a new System.Windows.Rect out of the specified coordinates. |
||
Gets the point from the specified bezier curve, corresponding to the specified parameter t [0, 1]. |
||
Calculate the intersection point between the ellipse with the specified bounds and the line segment defined by the specified points. |
||
Gets the type with the specified name. |
||
Gets the minimum allowed size of an arrowhead. |
||
Gets the position and size of the specified element on the canvas. |
||
Calculates the intersection point between the specified rectangle and the line segment defined by the specified points. |
||
Gets the initial distance between adjacent control points of a reflexive arrow along the Y-axis. |
||
Gets the initial distance between adjacent control points of a reflexive link along the X-axis. |
||
Gets the application's root visual element. |
||
Adds the specified amount to the rectangle dimensions in all directions. |
||
Determines whether the specified line segments intersect. |
||
Gets the intersection point of a line segments and a rectangle. |
||
Finds the intersection point of the lines defined by the specified point pairs. |
||
Finds the intersection point of the lines defined by the specified point pairs. |
||
Gets the intersection point of two line segments AB and CD. |
||
Loads an image from the specified stream. |
||
Returns an array of node anchor points which match current node links anchor point |
||
Measures the specified text when drawn with the specified font. |
||
Returns the middle point of the segment defined by the specified points. |
||
Calculates the minimum distance between a given point and a given rectangle. |
||
Returns the element from the specified point array nearest to the specified point. |
||
Moves the specified rectangle by the specified offset. |
||
Checks whether the specified point is contained in the ellipse defined by the specified rectangle. |
||
Checks whether the specified rectangle contains the specified point. |
||
Converts polar coordinates to the corresponding Cartesian coordinates, using the specified point as a center of the coordinate system. |
||
Converts the specified value from degrees to radians. |
||
Determines if rectangle intersects with rect. |
||
Checks whether the segments defined by the specified point pairs intersect and returns the intersection point. |
||
Returns the top left point of the specified rectangle. |
||
Returns the top right point of the specified rectangle. |
||
Returns the smallest possible rectangle containing both of the specified rectangles, but only if the rectangles are non-empty. |
||
Returns the smallest possible rectangle containing both of the specified rectangles. |