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 SceneMaskConstructors
| Name | Description |
|---|---|
| SceneMask() |
SceneMask()
SceneMask.cspublic SceneMask()No documentation is available.
Properties
| Name | Description |
|---|---|
| Content | Gets the content of the mask, in the coordinates of the parent of the masked element. |
| Mode | Gets or sets what the content gives the opacity by. The default is SceneMaskMode.Luminance, as in SVG. |
Content
SceneMask.csGets the content of the mask, in the coordinates of the parent of the masked element.
public SceneGroup Content { get; }Property value
Mode
SceneMask.csGets or sets what the content gives the opacity by. The default is SceneMaskMode.Luminance, as in SVG.
public SceneMaskMode Mode { get; set; }