PeachDrawing.Core
PeachDrawing.Core.HatchBrush
HatchBrush.ToTileBrush(Canvas) Method
Draws one cell of this hatch onto a tile of canvas and returns the brush that repeats it. A canvas that does not know how to paint a hatch directly calls this and paints the result.
public PeachDrawing.Core.TileBrush? ToTileBrush(PeachDrawing.Core.Canvas canvas);
Parameters
canvas Canvas
the canvas the hatch will be painted on
Returns
TileBrush
the tiling brush, or null when canvas cannot make tiles (see CreateTile(double, double))