Contains common helper methods.
The following tables list the members exposed by the InternalUtils type.
Name | Description | |
---|---|---|
Appends the specified values to the width and the height of the specified rectangle. |
||
Approximates the ellipse contained in the specified rectangle with a polyline. The specified quality parameter varies in the interval [1, …) and is proportional to the number of points in the resulting polyline. |
||
Creates a normalized [0…1] color blend out of the specified colors and positions. |
||
Checks if the specified rectangle and circle intersect. |
||
Converts a value between different measure units. |
||
Returns the distance from the specified point to the start of the specified path along the path's length. |
||
Calculates the square of the distance between the specified points. |
||
Overloaded. Calculates the shortest distance from a point to a polyline. |
||
Returns the nearest to pt point that lies on the outline of rectangle. |
||
Renders an expand/collapse button on the specified IGraphics canvas. |
||
Draws the selection handles. |
||
Calculate the intersection point between the ellipse with the specified bounds and the line segment defined by the specified points. |
||
Creates a linear gradient brush with the specified blend and orientation angle. |
||
Returns an array of node anchor points which match current node links anchor point |
||
Returns the middle point of the segment defined by the specified points. |
||
Calculates the minimum distance between a given point and a given rectangle. |
||
Moves a path by the specified offset. |
||
Overloaded. |
||
Checks whether the specified rectangle contains the specified point. |
||
Returns the points of the rectangle as an array |
||
Returns the smallest possible rectangle containing both of the specified rectangles, but only if the rectangles are non-empty. |