AVCaptureMetadataOutput.RectOfInterest 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
針對視覺中繼資料,將位置型中繼資料限制為指定的矩形。
[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
屬性值
從左上方到右下角 [1.0,1.0] 的中繼資料座標系統範圍從 [0,0],
- 屬性
備註
右下角的中繼資料座標系統從左上方的 [0,0] 到 [1.0,1.0]。
適用於
另請參閱
- <xref:AVFoundation.AVCaptureOutput.GetMetadataOutputRectOfInterestForRect>
- <xref:AVFoundation.AVCaptureOutput.GetRectForMetadataOutputRectOfInterest>