PeachDrawing.Core

PeachDrawing.Core.Canvas

Canvas.GetPen Method

Overloads  
GetPen(Brush) Get a pen that strokes with the given brush, e.g. for an SVG stroke="url(#gradient)".
GetPen(PaintColor) Get color pen.

Canvas.GetPen(Brush) Method

Get a pen that strokes with the given brush, e.g. for an SVG stroke="url(#gradient)".

public PeachDrawing.Core.Pen GetPen(PeachDrawing.Core.Brush brush);

Parameters

brush Brush

Returns

Pen

Canvas.GetPen(PaintColor) Method

Get color pen.

public PeachDrawing.Core.Pen GetPen(PeachDrawing.Core.PaintColor color);

Parameters

color PaintColor

the color to get the pen for

Returns

Pen
pen instance