Table of Contents

Class PdfStroke

Namespace
PdfEngine.Vector
Assembly
PdfEngine.Abstractions.dll

Stroke parameters for path stroking.

public sealed record PdfStroke : IEquatable<PdfStroke>
Inheritance
PdfStroke
Implements
Inherited Members

Constructors

PdfStroke(double, PdfLineCap, PdfLineJoin, double, IReadOnlyList<double>?, double)

Stroke parameters for path stroking.

public PdfStroke(double Width = 1, PdfLineCap Cap = PdfLineCap.Butt, PdfLineJoin Join = PdfLineJoin.Miter, double MiterLimit = 10, IReadOnlyList<double>? DashArray = null, double DashPhase = 0)

Parameters

Width double
Cap PdfLineCap
Join PdfLineJoin
MiterLimit double
DashArray IReadOnlyList<double>
DashPhase double

Properties

Cap

public PdfLineCap Cap { get; init; }

Property Value

PdfLineCap

DashArray

public IReadOnlyList<double>? DashArray { get; init; }

Property Value

IReadOnlyList<double>

DashPhase

public double DashPhase { get; init; }

Property Value

double

Join

public PdfLineJoin Join { get; init; }

Property Value

PdfLineJoin

MiterLimit

public double MiterLimit { get; init; }

Property Value

double

Width

public double Width { get; init; }

Property Value

double