Exemplo n.º 1
0
 /// <summary>
 /// Pushes an opacity mask.
 /// </summary>
 /// <param name="mask">The opacity mask.</param>
 /// <param name="bounds">
 /// The size of the brush's target area. TODO: Are we sure this is needed?
 /// </param>
 /// <returns>A disposable to undo the opacity mask.</returns>
 public PushedState PushOpacityMask(IBrush mask, Rect bounds)
 {
     PlatformImpl.PushOpacityMask(mask, bounds);
     return(new PushedState(this, PushedState.PushedStateType.OpacityMask));
 }