iOS Guides | Samples

MonoTouch.UIKit.UIImage.AlignmentRectInsets Property

Alignment metadata that provides hints for aligning the UIImage content.

Syntax

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

Value

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

Remarks

This property can be used to specify an alignment rectangle that is different than the 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