Constructor ReportShapeRegion
- Namespace
- DocWright.Reporting.Pagination
- Assembly
- DocWright.Reporting.dll
ReportShapeRegion(IReadOnlyList<IReadOnlyList<ReportShapePoint>>, ColorRgb)
Initializes an opaque region filled by the nonzero winding rule.
public ReportShapeRegion(IReadOnlyList<IReadOnlyList<ReportShapePoint>> contours, ColorRgb fill)
Parameters
contoursIReadOnlyList<IReadOnlyList<ReportShapePoint>>The closed contours, relative to the owning item's top-left corner; copied.
fillColorRgbThe fill colour.
Exceptions
- ArgumentNullException
contoursor one of its contours is null.