Table of Contents

Struct LineDashPattern

Namespace
UglyToad.PdfPig.Graphics.Core
Assembly
UglyToad.PdfPig.dll

The line dash pattern controls the pattern of dashes and gaps used to stroke paths. It is specified by a dash array and a dash phase.

public struct LineDashPattern
Inherited Members

Constructors

LineDashPattern(int, IReadOnlyList<decimal>)

Create a new LineDashPattern.

public LineDashPattern(int phase, IReadOnlyList<decimal> array)

Parameters

phase int

The phase. Phase.

array IReadOnlyList<decimal>

The array. Array.

Properties

Array

The numbers that specify the lengths of alternating dashes and gaps.

public readonly IReadOnlyList<decimal> Array { get; }

Property Value

IReadOnlyList<decimal>

Phase

The distance into the dash pattern at which to start the dash.

public readonly int Phase { get; }

Property Value

int

Solid

The default solid line.

public static LineDashPattern Solid { get; }

Property Value

LineDashPattern

Methods

ToString()

public override string ToString()

Returns

string