Search
Rect.center Method
See Also
 






Gets the center of this Rect object.

Namespace: MindFusion.Drawing
File: Rect.js

 Syntax

JavaScript  Copy Code

function center ()

 Return Value

The center, which is a Point with x that is the sum of x and half of width and with y that is the sum of y and half of height.

 See Also