UIImage.CapInsets Property

Definition

The portions of a image that are not resized when the image is stretched. Read-only.

[ObjCRuntime.ThreadSafe]
public virtual UIKit.UIEdgeInsets CapInsets { [Foundation.Export("capInsets")] get; }
member this.CapInsets : UIKit.UIEdgeInsets

Property Value

Attributes

Remarks

This is the size of all four end caps. When specified, the stretchable area is all pixels of the image that are not included by the end caps.

This can be used from a background thread.

Applies to