MonoTouch.UIKit.UIImage.AlignmentRectInsets Property
Alignment metadata that provides hints for aligning the MonoTouch.UIKit.UIImage content.

Syntax

[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
[MonoTouch.ObjCRuntime.ThreadSafe]
[get: MonoTouch.Foundation.Export("alignmentRectInsets")]
[get: MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
public virtual UIEdgeInsets AlignmentRectInsets { get; }

Value

The default value is an MonoTouch.UIKit.UIEdgeInsets whose values are all zero.

Remarks

This property can be used to specify an alignment rectangle that is different than the MonoTouch.UIKit.UIImage's UIImage.Size. For instance, if an image had a drop-shadow effect, the property could be used to align with the "main" part of the image.

This can be used from a background thread.

Requirements

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