Modifier

Partager via


SKPaint.StrokeWidth Property

Definition

Gets or sets the paint's stroke width.

public float StrokeWidth { get; set; }

Property Value

Remarks

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