ASP.NET Pack Programmer's Guide
Utilities Members
Constructors Methods
 


The following tables list the members exposed by the Utilities type.

 Public Constructors

  Name Description

Utilities

 

 Public Methods

  Name Description

add

Overloaded.  

areClose

 

cartesianToPolar

 

checkIntersect

 

clone

Overloaded.  

concat

Joins array elements using the specified delimiter.

convert

Convert value from valueMeasureUnit to targetMeasureUnit

deviceToDoc

 

distance

 

distToLineSegment

Calculates distance from the specified point to the specified line segment.

distToRectPoint

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

docToDevice

 

drawImage

Overloaded.  

filter

Overloaded.  

findValidateRoot

Returns the ancestor component that acts as validate root

getLocation

 

getSize

 

lineIntersect

Calculates the intersection point of endless lines (pA, pB) and (pC, pD)

lineIntersectHorizontal

Finds the x coordinate of the intersection point of the horizontal line at y and the line defined by points pA and pB. If the lines do not intersect, result is undefined.

lineIntersectVertical

Finds the y coordinate of the intersection point of the vertical line at x and the line defined by points pA and pB. If the lines do not intersect, result is undefined.

minDistToRect

 

newPoint2D

Overloaded.  

newPointDouble

Overloaded.  

newPointFloat

Overloaded.  

newRectangle2D

 

newRectangleDouble

Overloaded.  

newRectangleFloat

Overloaded.  

normalizeRect

 

parse

Parses space separated numbers into Point2D

polarToCartesian

 

readFileAsString

Returns the content of a file as a string.

resize

 

revalidateSynced

Performs synchronized revalidation to ensure that layout is up to date after this method returns.

set

Overloaded.  

setHeight

 

setLocation

 

setWidth

 

setX

Overloaded.  

setY

Overloaded.  

subtract

Subtract the coordinates of one point from the coordinates of another

translate

 

translateX

Overloaded.  

translateY

Overloaded.  

unzip

 

writeStringToFile

Writes the specified string to a file.

 See Also

Utilities Class
com.mindfusion.diagramming Namespace