HeifRegionItemAddRectangle Method

Adds a rectangle to the region geometry.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public void AddRectangle(
	int x,
	int y,
	long width,
	long height
)

Parameters

x  Int32
The x coordinate.
y  Int32
The y coordinate.
width  Int64
The width.
height  Int64
The height.

Exceptions

ArgumentOutOfRangeExceptionwidth must be in the range of [0, 4294967295]. -or- height must be in the range of [0, 4294967295].
HeifExceptionA LibHeif error occurred.
ObjectDisposedExceptionThe object has been disposed.

See Also