Method SetFill
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
SetFill(IDeviceBrush?)
Provides values to an SVG glyph for fill.
void SetFill(IDeviceBrush? brush)
Parameters
brush
IDeviceBrushDescribes how the area is painted. A null brush will cause the context-fill value to come from the defaultFillBrush. If the defaultFillBrush is also null, the context-fill value will be 'none'. To set the ‘context-fill’ value, this method uses the provided brush with its opacity set to 1. To set the ‘context-fill-opacity’ value, this method uses the opacity of the provided brush.