ICanvas.ClearRect

ICanvas.ClearRect method

Clears the specified rectangular area to transparent.

public void ClearRect(float x, float y, float w, float h)
ParameterTypeDescription
xSingleThe x-coordinate of the top-left corner of the area to clear.
ySingleThe y-coordinate of the top-left corner of the area to clear.
wSingleThe width of the area to clear.
hSingleThe height of the area to clear.

See Also