Table of Contents

Constructor FilledRect

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

FilledRect(Twips, Twips, Twips, Twips, ColorRgb, FilledRectKind)

Initializes a filled rectangle.

public FilledRect(Twips x, Twips y, Twips width, Twips height, ColorRgb color, FilledRectKind kind = FilledRectKind.Shading)

Parameters

x Twips
y Twips
width Twips
height Twips
color ColorRgb
kind FilledRectKind

FilledRect(Twips, Twips, Twips, Twips, ColorRgb, Twips, Twips, Twips, Twips)

Initializes a rectangle of an item that is a raster of its own (ItemRaster): the item's box on the page is what a raster renderer rounds to its pixel grid.

public FilledRect(Twips x, Twips y, Twips width, Twips height, ColorRgb color, Twips rasterLeft, Twips rasterTop, Twips rasterWidth, Twips rasterHeight)

Parameters

x Twips

The left coordinate in twips.

y Twips

The top coordinate in twips.

width Twips

The width in twips.

height Twips

The height in twips.

color ColorRgb

The fill color.

rasterLeft Twips

The item's left edge on the page, in twips.

rasterTop Twips

The item's top edge on the page, in twips.

rasterWidth Twips

The item's width, in twips.

rasterHeight Twips

The item's height, in twips.