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


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


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


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.


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