Düzenle

Aracılığıyla paylaş


AVCaptureOutput.GetMetadataOutputRectOfInterestForRect(CGRect) Method

Definition

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

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

Parameters

rectInOutputCoordinates
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 rectInOutputCoordinates into that coordinate system.

Applies to