[]
Clears the GrayscaleBitmap with the specified value (from 0 to 255).
public void Clear(int value)
Public Sub Clear(value As Integer)
| Type | Name | Description |
|---|---|---|
| int | value | The value (from 0 to 255) to fill the image. |
Clears the GrayscaleBitmap with the specified value (from 0 to 255).
public void Clear(int value, Rectangle rect)
Public Sub Clear(value As Integer, rect As Rectangle)
| Type | Name | Description |
|---|---|---|
| int | value | The value (from 0 to 255) to fill the image. |
| Rectangle | rect | The target rectangle of the GrayscaleBitmap. |