共用方式為


AVUtilities.WithAspectRatio(CGRect, CGSize) 方法

定義

public static CoreGraphics.CGRect WithAspectRatio (this CoreGraphics.CGRect self, CoreGraphics.CGSize aspectRatio);
static member WithAspectRatio : CoreGraphics.CGRect * CoreGraphics.CGSize -> CoreGraphics.CGRect

參數

self
CGRect
aspectRatio
CGSize

傳回

適用於