"zOrderAfter()"

Moves a shape to be drawn after another shape.

Synopsis

void shape.zOrderAfter(shape previous);

Parameters

Parameter Description
previous The previous shape.

Description

This function moves the shape in its layer to be drawn after the given previous shape. If the previous shape is given as nullptr, it is the same as "zOrderToBottom()". The previous and the current shape must reside in the same panel and in the same layer.

Note: This function cannot be used to change parts of or an entire panel reference.

Setting the current shape to be drawn after ELLIPSE1:

this.zOrderAfter(getShapeStrict("ELLIPSE1"));

Assignment

All graphic objects