Gets the center of this Rect object.
Namespace: MindFusion.Drawing
Package: Rect.js
JavaScript Copy Code |
---|
function center () |
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.