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
coverageIReadOnlyList<byte>The 64 cells' line coverage, 0 (ground) to 255 (line), row by row from the top-left; copied.
lineColorRgbThe line colour.
lineAlphabyteThe line colour's opacity, 0 (transparent) to 255 (opaque).
groundColorRgbThe ground colour, between the lines.
groundAlphabyteThe ground's opacity.
Exceptions
- ArgumentNullException
coverageis null.- ArgumentException
coveragedoes not hold 64 cells.