Table of Contents

Class FilledRect

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

A filled rectangle (used for shading and highlights).

public sealed class FilledRect : ILayoutPrimitive
Inheritance
FilledRect
Implements
Inherited Members

Constructors

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.

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

Initializes a filled rectangle.

Properties

Color

Gets the fill color.

Height

Gets the height in twips.

Kind

Gets the logical rectangle kind.

RasterHeight

Gets the height of the item's box this rectangle is a raster of, in twips; meaningful for ItemRaster.

RasterLeft

Gets the left edge of the item's box this rectangle is a raster of, in twips; meaningful for ItemRaster.

RasterTop

Gets the top edge of the item's box this rectangle is a raster of, in twips; meaningful for ItemRaster.

RasterWidth

Gets the width of the item's box this rectangle is a raster of, in twips; meaningful for ItemRaster.

Width

Gets the width in twips.

X

Gets the left coordinate in twips.

Y

Gets the top coordinate in twips.