Click or drag to resize

PdfBitmapFillRect(FX_RECT, FS_COLOR) Method

Fills the rectangular area in the PdfBitmap specified by a FX_RECT structure.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public void FillRect(
	FX_RECT rect,
	FS_COLOR color
)

Parameters

rect  FX_RECT
A FX_RECT structure that represents the rectangle to fill.
color  FS_COLOR
A FS_COLOR structure that represents the color.
Remarks

This method set the color and (optionally) alpha value in specified region of the bitmap.

Note  Note
If alpha channel is used, this function does NOT composite the background with the source color, instead the background will be replaced by the source color and alpha.

If alpha channel is not used, the "alpha" parameter is ignored.

See Also