HeifRegionItemAddReferencedMask(HeifImageHandle, Int32, Int32, Int64, Int64) Method

Adds an referenced mask to the region geometry.

Definition

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

Parameters

image  HeifImageHandle
The mask image.
x  Int32
The x coordinate.
y  Int32
The y coordinate.
width  Int64
The width.
height  Int64
The height.

Exceptions

ArgumentNullExceptionimage is .
ArgumentOutOfRangeExceptionx must be greater than or equal to 0. -or- y must be greater than or equal to 0. -or- width 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