Search
InternalUtils Methods
 


 Public Methods

  Name Description

AddToRect

Appends the specified values to the width and the height of the specified rectangle.

ApproxEllipse

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.

Blend

Creates a normalized [01] color blend out of the specified colors and positions.

CheckIntersect

Checks if the specified rectangle and circle intersect.

ConvertUnits

Converts a value between different measure units.

DistanceAlongLength

Returns the distance from the specified point to the start of the specified path along the path's length.

DistanceSq

Calculates the square of the distance between the specified points.

DistToPolyline

Overloaded. Calculates the shortest distance from a point to a polyline.

DistToRectPoint

Returns the nearest to pt point that lies on the outline of rectangle.

DrawExpandButton

Renders an expand/collapse button on the specified IGraphics canvas.

DrawSelHandles

Draws the selection handles.

GetEllipseIntr

Calculate the intersection point between the ellipse with the specified bounds and the line segment defined by the specified points.

LinearGradient

Creates a linear gradient brush with the specified blend and orientation angle.

MatchPointsMinLength

Returns an array of node anchor points which match current node links anchor point

MidPoint

Returns the middle point of the segment defined by the specified points.

MinDistToRect

Calculates the minimum distance between a given point and a given rectangle.

OffsetPath

Moves a path by the specified offset.

PointAlongLength

Overloaded.  

PointInRect

Checks whether the specified rectangle contains the specified point.

RectangleToPoints

Returns the points of the rectangle as an array

UnionNonEmptyRects

Returns the smallest possible rectangle containing both of the specified rectangles, but only if the rectangles are non-empty.

 See Also