Visual.VisualOpacityMask Property

Definition

获取或设置 Brush 值,该值表示 Visual 的不透明蒙板。Gets or sets the Brush value that represents the opacity mask of the Visual.

public:  property System::Windows::Media::Brush ^ VisualOpacityMask {  protected public:
System::Windows::Media::Brush ^ get(); protected:
 void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush VisualOpacityMask { protected internal get; protected set; }
member this.VisualOpacityMask : System.Windows.Media.Brush with get, set
Public Property VisualOpacityMask As Brush

Property Value

Brush

一个表示可视对象的不透明蒙板值的 BrushA Brush that represents the opacity mask value of the visual.

Remarks

不透明蒙板是一个 Brush,适用于此视觉对象的呈现内容的任何 alpha 通道蒙板。The opacity mask is a Brush that is applied to any alpha-channel masking for the rendered content of this visual.

Applies to