|CanvasDrawingSessionFillGeometry Method (CanvasGeometry, Single, Single, ICanvasBrush, ICanvasBrush)|
public void FillGeometry( CanvasGeometry geometry, float x, float y, ICanvasBrush brush, ICanvasBrush opacityBrush )
Transparent portions of the opacity mask brush indicate the areas where the contents of the geometry will be transparent, while opaque portions of the mask indicate where the geometry is visible. The RGB color of the opacity mask is ignored.
Optimization note - this method is fastest when all the following requirements are satisfied:
The opacity mask brush is allowed to be null.