HeifRegionItem Class

Represents a LibHeif region item.

Definition

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
C#
public sealed class HeifRegionItem : Disposable
Inheritance
Object    Disposable    HeifRegionItem

Properties

Id The region item identifier.
ReferenceHeight The height of the encoded image prior to any transformations.
ReferenceWidth The width of the encoded image prior to any transformations.

Methods

AddEllipse Adds an ellipse to the region geometry.
AddInlineMask(HeifImage) Adds an inline mask to the region geometry.
AddInlineMask(Byte, Int32, Int32, Int64, Int64) Adds an inline mask to the region geometry.
AddInlineMask(HeifImage, Int32, Int32, Int64, Int64) Adds an inline mask to the region geometry.
AddInlineMask(ReadOnlySpanByte, Int32, Int32, Int64, Int64) Adds an inline mask to the region geometry.
AddPoint Adds a point to the region geometry.
AddPolygon Adds a polygon to the region geometry.
AddPolyline Adds a polyline to the region geometry.
AddRectangle Adds a rectangle to the region geometry.
AddReferencedMask(HeifImageHandle) Adds a referenced mask to the region geometry.
AddReferencedMask(HeifImageHandle, Int32, Int32, Int64, Int64) Adds an referenced mask to the region geometry.
AddReferencedMask(HeifItemId, Int32, Int32, Int64, Int64) Adds a referenced mask to the region geometry.
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRegionGeometries Gets the region geometries.
GetTransformedRegionGeometries Gets the transformed region geometries.
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also