Table of Contents

Constructor ReportShapePath

Namespace
DocWright.Reporting.Pagination
Assembly
DocWright.Reporting.dll

ReportShapePath(IReadOnlyList<ReportShapePoint>, bool, ColorRgb?, ColorRgb?, Twips)

Initializes an opaque path of straight segments through its points, in order.

public ReportShapePath(IReadOnlyList<ReportShapePoint> points, bool closed, ColorRgb? fill, ColorRgb? stroke, Twips strokeWidth)

Parameters

points IReadOnlyList<ReportShapePoint>

The points, relative to the owning item's top-left corner; copied.

closed bool

Whether the last point joins back to the first.

fill ColorRgb?

The fill colour, or null for none.

stroke ColorRgb?

The stroke colour, or null for none.

strokeWidth Twips

The stroke's width.

Exceptions

ArgumentNullException

points is null.

ReportShapePath(IReadOnlyList<ReportShapePoint>, bool, ColorRgb?, byte, ColorRgb?, byte, Twips)

Initializes a path whose fill and stroke have opacities from 0 (transparent) to 255 (opaque).

public ReportShapePath(IReadOnlyList<ReportShapePoint> points, bool closed, ColorRgb? fill, byte fillAlpha, ColorRgb? stroke, byte strokeAlpha, Twips strokeWidth)

Parameters

points IReadOnlyList<ReportShapePoint>

The points, relative to the owning item's top-left corner; copied.

closed bool

Whether the last point joins back to the first.

fill ColorRgb?

The fill colour, or null for none.

fillAlpha byte

The fill's opacity.

stroke ColorRgb?

The stroke colour, or null for none.

strokeAlpha byte

The stroke's opacity.

strokeWidth Twips

The stroke's width.

Exceptions

ArgumentNullException

points is null.