Modifica

Share via


AVCaptureMetadataOutput.RectOfInterest Property

Definition

For visual metadata, restricts location-based metadata to the specified rectangle.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect RectOfInterest { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("rectOfInterest", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setRectOfInterest:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.RectOfInterest : CoreGraphics.CGRect with get, set

Property Value

The coordinate system for metadata ranges from [0,0] in the top-left to [1.0,1.0] in the bottom-right

Attributes

Remarks

The coordinate system for metadata ranges from [0,0] in the top-left to [1.0,1.0] in the bottom-right.

Applies to

See also

  • <xref:AVFoundation.AVCaptureOutput.GetMetadataOutputRectOfInterestForRect>
  • <xref:AVFoundation.AVCaptureOutput.GetRectForMetadataOutputRectOfInterest>