コード例 #1
0
        protected void CreateMaskPaints()
        {
            Mask = new Paint
            {
                IsAntialias = true,
                Style       = PaintStyle.StrokeAndFill
            };

            var lumaColor = ColorFilter.CreateLumaColor();

            MaskDstIn = new Paint
            {
                IsAntialias = true,
                Style       = PaintStyle.StrokeAndFill,
                BlendMode   = BlendMode.DstIn,
                Color       = SvgModelExtensions.s_transparentBlack,
                ColorFilter = lumaColor
            };
        }