Click or drag to resize

PdfPathObjectLineWidth Property

Gets or sets the thickness, in user space units, of paths to be stroked.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public float LineWidth { get; set; }

Property Value

Single
Remarks

The line width parameter specifies the thickness of the line used to stroke a path. It is a non-negative number expressed in user space units; stroking a path entails painting all points whose perpendicular distance from the path in user space is less than or equal to half the line width.

A line width of 0 denotes the thinnest line that can be rendered at device resolution: 1 device pixel wide. However, some devices cannot reproduce 1-pixel lines, and on high-resolution devices, they are nearly invisible.Since the results of rendering such zero-width lines are device-dependent, their use is not recommended.

See Also