Table of Contents

Class ReportShapeRegion

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

An area made of closed contours of straight segments, filled together by the nonzero winding rule: a QR Code's dark modules.

public sealed class ReportShapeRegion : ReportShape
Inheritance
ReportShapeRegion
Inherited Members

Remarks

Draw it as one filled path — one PDF path, one SVG path element with a subpath per contour, one GraphicsPath — never as one fill per contour. Contours meet edge to edge, and it is filling them together that makes a shared edge vanish instead of leaving a hairline where two antialiased edges overlap.

Every contour runs clockwise on the page (y downwards) and none overlap, so nonzero and even-odd fill the same area; a region is never stroked.

Constructors

ReportShapeRegion(IReadOnlyList<IReadOnlyList<ReportShapePoint>>, ColorRgb)

Initializes an opaque region filled by the nonzero winding rule.

Properties

Contours

Gets the contours, each closed back to its first point, relative to the item's top-left corner.

Kind

Gets what kind of shape this is.