Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Pens

PenModel Class

A pen defines the characteristics of a line such as
color and pattern (solid, dashed, etc.).

csharp
public class PenModel

Inheritance System.Object 🡒 PenModel

Remarks

Lines, curves and borders are drawn using a pen. A pen defines how line ends are
connected and how open ends are drawn.

Properties
CapStyleHow caps (end-points) are drawn.
ColorColor of this pen.
JoinStyleHow joints are drawn.
MiterLimitThe Miter Limit imposes a maximum on the ratio of the miter length to the line width.
When the limit is exceeded, the join is converted from a miter to a bevel. (default = 10.0)
PatternPattern of this pen.
WidthWidth of this pen.