"refPoint"

Allows to read/write the reference point coordinates.

Synopsis

setValue(string shape,"refPoint", int x, int y);

getValue(string shape,"refPoint", int x, int y);

shape.refPoint(int x, int y);

Parameter

Parameter Description
x X-Coordinate of the reference point
y Y-Coordinate of the reference point

Description

The property allows to read/write the reference point coordinates of a shape. This is not meant to change the position of a shape and is intended to be used when dynamically creating a panel and filling it using addShape().

Assignment

All Graphical Objects