set the centered to <boolean> Applies to global painting
NOT AVAILABLE IN THE PLAYER
The centered property determines the origin of geometrical figures drawn with the paint tools.
When the centered property is true, the graphic is drawn starting from its center. It expands outward from its center as it becomes larger in size.
If the centered property is false, the graphic is drawn starting from an imaginary corner. It expands toward the opposite corner as it becomes larger in size.
Type the following line in the Message Box and press Enter:
set the centered to true
Now select the Rectangle tool from the Paint toolbar. Draw a rectangle on the card. Notice that Oracle Media Objects draws the rectangle from the center of the shape. Now type the following line in the Message Box and press Enter:
set the centered to false
This text has been mechanically extracted from the Oracle Media Objects 188.8.131.52 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.