Contains common helper methods, specific to NetDiagram.
The following tables list the members exposed by the InternalUtils type.
Name | Description | |
---|---|---|
Inflate/deflate the specified rectangle with the specified values. |
||
Approximates the specified Bézier curve with a polyline. The specified quality parameter varies in the interval [1, ...) and is proportional to the number of points in the resulting polyline. |
||
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. |
||
Creates an elliptic region. |
||
Creates a polygonal region. |
||
Creates a round rectangle region. |
||
Calculates the distance between the specified points. |
||
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. |
||
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 specified rectangle using the specified pen for stroking and the specified brush for filling. |
||
Draws adjustment handles. |
||
Calculate the intersection point between the ellipse with the specified bounds and the line segment defined by the specified points. |
||
Gets the specified assembly. |
||
Overloaded. |
||
Creates a graphics path of a rounded rectangle with the specified dimensions and round radius. |
||
Returns the region where an image should be displayed for specified alignment. |
||
Overloaded. Creates a linear gradient brush with the specified settings. |
||
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. |
||
Overloaded. Normalizes the specified rectangle. |
||
Moves a path by the specified offset. |
||
Returns a point lying at the specified distance from the start point along the path specified via the collection of points. |
||
Overloaded. Checks whether the specified rectangle contains the specified point. |
||
Checks whether the specified rectangle contains the specified points. |
||
Returns the points of the specified rectangle as an array. |
||
Sets the alpha channel value for all color properties of the specified brush. |
||
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. |