ChartDirector 7.1 (C++ Edition)

Layer.moveFront


Usage

void moveFront(Layer *layer = 0);

Description

Moves the layer in front of another layer.

By default, the front to back ordering of the Layer objects are the same as the order in which they are added to the chart. For example, a layer added first will be in front of a layer added last.

This method can be used to move the layer in front of another layer.

Arguments

ArgumentDefaultDescription
layer[Null]The Layer for this layer to move in front of. The default value of null means the layer will be moved in front of all current layers.

Return Value

None