SKPaint.StrokeWidth Property


Gets or sets the paint's stroke width.

public float StrokeWidth { get; set; }

Property Value


This is used whenever the Style is Stroke or StrokeAndFill. The value of zero is the special hairline mode. Hairlines always draw with a width of 1 pixel, regardless of the transformation matrix.

Applies to