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 }; }