Constructor FilledRect
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
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
xTwipsThe left coordinate in twips.
yTwipsThe top coordinate in twips.
widthTwipsThe width in twips.
heightTwipsThe height in twips.
colorColorRgbThe fill color.
rasterLeftTwipsThe item's left edge on the page, in twips.
rasterTopTwipsThe item's top edge on the page, in twips.
rasterWidthTwipsThe item's width, in twips.
rasterHeightTwipsThe item's height, in twips.