DropShadow.Mask Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Brush used to specify an opacity mask for the shadow. Defaults to the SpriteVisual's brush. Animatable.
public:
property CompositionBrush ^ Mask { CompositionBrush ^ get(); void set(CompositionBrush ^ value); };
CompositionBrush Mask();
void Mask(CompositionBrush value);
public CompositionBrush Mask { get; set; }
var compositionBrush = dropShadow.mask;
dropShadow.mask = compositionBrush;
Public Property Mask As CompositionBrush
Property Value
Brush used to specify an opacity mask for the shadow. Defaults to the SpriteVisual's brush.
Remarks
A non-rectangular shadow can be casted by setting the Mask of the Shadow property to a SurfaceBrush that represents the shape.
This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro