Table of Contents

Method SetRGBRect

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SetRGBRect(RGBValue, RectI?)

Sets the color of the pixels within the given rectangle.

void SetRGBRect(RGBValue rgb, RectI? rect = null)

Parameters

rgb RGBValue

RGB Color.

rect RectI?

Rectangle within the image. If rectangle is null, Bounds property is used.