iOS Guides | Samples

MonoTouch.UIKit.UIImage.CapInsets Property

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

Syntax

[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 5, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.ThreadSafe]
[get: MonoTouch.Foundation.Export("capInsets")]
[get: MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 5, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public virtual UIEdgeInsets CapInsets { get; }

Value

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.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0