AVCaptureOutput.GetRectForMetadataOutputRectOfInterest(CGRect) Method

Definition

Transforms a rectangle in the coordinate system used for metadata into the capture output's coordinate system.

[Foundation.Export("rectForMetadataOutputRectOfInterest:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect GetRectForMetadataOutputRectOfInterest (CoreGraphics.CGRect rectInMetadataOutputCoordinates);
abstract member GetRectForMetadataOutputRectOfInterest : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.GetRectForMetadataOutputRectOfInterest : CoreGraphics.CGRect -> CoreGraphics.CGRect

Parameters

rectInMetadataOutputCoordinates
CGRect

Returns

Attributes

Remarks

Metadata uses a coordinate system whose origin is in the top-left and for which the bottom-right is (1.0,1.0). This method converts rectInMetadataOutputCoordinates from that coordinate system into the coordinate system of the AVCaptureOutput.

Applies to