MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils.getCenter Method
See Also
 






Returns the center of the specified rectangle.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function getCenter (rect)

 Parameters

rect

Type: Rect
Rect. The rectangle.

 Return Value

Type: Point
Point. The center.

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace