Skip to content

IGraphicsContext.GlobalAlpha property

Gets or sets the opacity multiplier applied to the drawing calls that follow, in the range [0, 1]. It multiplies onto the opacity the caller is drawn under, such as an ancestor’s fade or an open BeginOpacity scope, which it cannot replace. It starts at 1f and is saved and restored by Save / Restore.

public float GlobalAlpha { get; set; }