SkiaSharp.SKPaintStyle Enumeration

Indications on how to draw geometry.

Syntax

public enum SKPaintStyle

Remarks

Styles apply to rect, oval, path, and text. Bitmaps are always drawn in SKPaintStyle.Fill, and lines are always drawn in SKPaintStyle.Stroke.

SKPaintStyle.StrokeAndFill implicitly draws the result with SKPathFillType.Winding so if the original path is even-odd, the results may not appear the same as if it was drawn twice, filled and then stroked.

Members

Member NameDescription
FillFill the geometry.
StrokeStroke the geometry.
StrokeAndFillFill and stroke the geometry.

Requirements

Namespace: SkiaSharp
Assembly: SkiaSharp (in SkiaSharp.dll)
Assembly Versions: 1.54.0.0, 1.54.0.0, 1.55.0.0, 1.56.0.0, 1.57.0.0, 1.58.0.0, 1.59.0.0

The members of SkiaSharp.SKPaintStyle are listed below.

See Also: Enum

Public Fields

FillSKPaintStyle. Fill the geometry.
StrokeSKPaintStyle. Stroke the geometry.
StrokeAndFillSKPaintStyle. Fill and stroke the geometry.