Sdílet prostřednictvím


UIButton.ContentRectForBounds(CGRect) Method

Definition

[Foundation.Export("contentRectForBounds:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect ContentRectForBounds(CoreGraphics.CGRect rect);
[<Foundation.Export("contentRectForBounds:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ContentRectForBounds : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.ContentRectForBounds : CoreGraphics.CGRect -> CoreGraphics.CGRect

Parameters

rect
CGRect

Returns

Attributes

Applies to