Gets the center of this Rect object.
Namespace: MindFusion.Drawing
File: 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.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |