編輯

共用方式為


AVCaptureOutput.GetTransformedMetadataObject Method

Definition

Converts the visual properties of the metadataObject into the coordinate system of the capture output.

[Foundation.Export("transformedMetadataObjectForMetadataObject:connection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AVFoundation.AVMetadataObject GetTransformedMetadataObject (AVFoundation.AVMetadataObject metadataObject, AVFoundation.AVCaptureConnection connection);
abstract member GetTransformedMetadataObject : AVFoundation.AVMetadataObject * AVFoundation.AVCaptureConnection -> AVFoundation.AVMetadataObject
override this.GetTransformedMetadataObject : AVFoundation.AVMetadataObject * AVFoundation.AVCaptureConnection -> AVFoundation.AVMetadataObject

Parameters

metadataObject
AVMetadataObject
connection
AVCaptureConnection

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 any metadata elements that use that coordinate system into values in the coordinate system of the AVCaptureOutput.

Applies to