Table of Contents

Constructor ReportShapeHatch

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

ReportShapeHatch(IReadOnlyList<byte>, ColorRgb, byte, ColorRgb, byte)

Initializes a hatch.

public ReportShapeHatch(IReadOnlyList<byte> coverage, ColorRgb line, byte lineAlpha, ColorRgb ground, byte groundAlpha)

Parameters

coverage IReadOnlyList<byte>

The 64 cells' line coverage, 0 (ground) to 255 (line), row by row from the top-left; copied.

line ColorRgb

The line colour.

lineAlpha byte

The line colour's opacity, 0 (transparent) to 255 (opaque).

ground ColorRgb

The ground colour, between the lines.

groundAlpha byte

The ground's opacity.

Exceptions

ArgumentNullException

coverage is null.

ArgumentException

coverage does not hold 64 cells.