UIImage.AlignmentRectInsets Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Alignment metadata that provides hints for aligning the UIImage content.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.ThreadSafe]
public virtual UIKit.UIEdgeInsets AlignmentRectInsets { [Foundation.Export("alignmentRectInsets")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.AlignmentRectInsets : UIKit.UIEdgeInsets
Property Value
The default value is an UIEdgeInsets whose values are all zero.
- Attributes
Remarks
This property can be used to specify an alignment rectangle that is different than the UIImage's 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.