PdfLineStyle Class

Defines the appearance of a stroked line, including width, dash pattern, endpoint shape and corner join style

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfLineStyle
Inheritance
Object    PdfLineStyle

Constructors

PdfLineStyleInitializes a new instance of the PdfLineStyle class

Properties

CustomDashPattern A custom dash pattern expressed as alternating on/off segment lengths in points. When non-null and non-empty it takes precedence over DashStyle. A null or empty value selects the dash pattern from DashStyle
DashPhase The phase offset, in points, applied to the dash pattern. The default value is 0
DashStyle The predefined dash pattern of the line. Ignored when CustomDashPattern is set to a non-null, non-empty array
LineCap The shape used at the endpoints of stroked open paths such as lines and arcs. The default value is Butt
LineJoin The shape used at corners where two stroked segments meet, such as the corners of a rectangle or the vertices of a polygon. The default value is Miter
LineWidth The width of the line in points. The default value is 1
MiterLimit The maximum ratio between the miter length and the line width before a miter join is automatically converted to a bevel join. The default value is 10

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also