Skip to main content
A newer version of this page is available. .

Effect Layer

An Effect Layer adds a style effect (for instance, a glare effect) to the linear gauge.

When a new effect layer is added to the gauge, it is painted foreground all other elements because its BaseLeafPrimitive.ZOrder property is set to -1000 by default.

To bring this layer behind other gauge elements, you need to set the ZOrder property to a higher value.

LinearGauge_EffectLayer

An effect layer is represented by the LinearScaleEffectLayer class.

The table below lists the main properties affecting element behavior and appearance.

Characteristics Members
Appearance LinearScaleEffectLayer.ShapeType,BaseLeafPrimitive.Shader
Geometry LinearScaleEffectLayer.ScaleStartPos,LinearScaleEffectLayer.ScaleEndPos,BaseLeafPrimitive.ZOrder