From fded2edffade5d25cdbd70769fbef26604870101 Mon Sep 17 00:00:00 2001 From: Christopher Blackman Date: Wed, 27 Oct 2021 11:33:19 -0400 Subject: [PATCH] Add InnerContentClipMode --- .../Enums/InnerContentClipMode.cs | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Microsoft.Toolkit.Uwp.UI.Media/Enums/InnerContentClipMode.cs diff --git a/Microsoft.Toolkit.Uwp.UI.Media/Enums/InnerContentClipMode.cs b/Microsoft.Toolkit.Uwp.UI.Media/Enums/InnerContentClipMode.cs new file mode 100644 index 000000000..35eb4c9f4 --- /dev/null +++ b/Microsoft.Toolkit.Uwp.UI.Media/Enums/InnerContentClipMode.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Toolkit.Uwp.UI.Media +{ + /// + /// The method that shadows deriving from use when clipping their inner content. + /// + public enum InnerContentClipMode + { + /// + /// Use to clip inner content. + /// + /// + /// This mode has better performance than . + /// + CompositionMaskBrush, + + /// + /// Use to clip inner content. + /// + /// + /// Content clipped in this mode will have smoother corners than when using . + /// + CompositionGeometricClip + } +}