HeifRegionItemAddReferencedMask(HeifItemId, Int32, Int32, Int64, Int64) Method

Adds a referenced mask to the region geometry.

Definition

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

Parameters

itemId  HeifItemId
The mask image item id.
x  Int32
The x coordinate.
y  Int32
The y coordinate.
width  Int64
The width.
height  Int64
The height.

Exceptions

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