Gets the horizontal position of the rectangle center point (percentage coordinate). Value range: 0.0 (left edge) to 1.0 (right edge). Example: 0.5 indicates the horizontal center of the view.
Supported since MSDK 5.20.1
Return:
double
The horizontal position percentage of the center point.
Sets the horizontal position of the rectangle center point (percentage coordinate). Value range: 0.0 (left edge) to 1.0 (right edge). Example: 0.5 indicates the horizontal center of the view.
Supported since MSDK 5.20.1
Input Parameters:
double x
The horizontal position percentage of the center point.
Gets the vertical position of the rectangle center point (percentage coordinate). Value range: 0.0 (top edge) to 1.0 (bottom edge). Example: 0.5 indicates the vertical center of the view.
Supported since MSDK 5.20.1
Return:
double
The vertical position percentage of the center point.
Sets the vertical position of the rectangle center point (percentage coordinate). Value range: 0.0 (top edge) to 1.0 (bottom edge). Example: 0.5 indicates the vertical center of the view.
Supported since MSDK 5.20.1
Input Parameters:
double y
The vertical position percentage of the center point.
Gets the rectangle width (percentage relative to the view width). Value range: 0.0 (invisible) to 1.0 (full-screen width). Example: 0.8 indicates the width occupies 80% of the screen.
Sets the rectangle width (percentage relative to the view width). Value range: 0.0 (invisible) to 1.0 (full-screen width). Example: 0.8 indicates the width occupies 80% of the screen.
Gets the rectangle height (percentage relative to the view height). Value range: 0.0 (invisible) to 1.0 (full-screen height). Example: 0.6 indicates the height occupies 60% of the screen.
Sets the rectangle height (percentage relative to the view height). Value range: 0.0 (invisible) to 1.0 (full-screen height). Example: 0.6 indicates the height occupies 60% of the screen.