SceneMask Class

An opacity mask (SceneElement.Mask): the element is drawn where its content is, with the opacity its content gives, as the mask of SVG. Outside of the content, nothing is drawn.

public sealed class SceneMask

Constructors

NameDescription
SceneMask()

SceneMask()

SceneMask.cs
public SceneMask()

No documentation is available.

Properties

NameDescription
ContentGets the content of the mask, in the coordinates of the parent of the masked element.
ModeGets or sets what the content gives the opacity by. The default is SceneMaskMode.Luminance, as in SVG.

Gets the content of the mask, in the coordinates of the parent of the masked element.

public SceneGroup Content { get; }

Property value

SceneGroup

Gets or sets what the content gives the opacity by. The default is SceneMaskMode.Luminance, as in SVG.

public SceneMaskMode Mode { get; set; }

Property value

SceneMaskMode