VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing.SkiaSharp Namespace / SkiaSharpDrawingFactory Class / CreatePen Methods / CreatePen(IDrawingBrush,Single) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
CreatePen(IDrawingBrush,Single) Method (SkiaSharpDrawingFactory)
In This Topic
Creates a pen with specified brush and width.
Syntax

Parameters

brush
The brush.
width
The pen width.

Return Value

New pen with specified brush and width.
Exceptions
ExceptionDescription
Thrown if brush is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also