UIImage.ImageWithAlignmentRectInsets(UIEdgeInsets) Method
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.
Creates a UIImage based on this
, with the specified alignmentInsets
.
[Foundation.Export("imageWithAlignmentRectInsets:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.ThreadSafe]
public virtual UIKit.UIImage ImageWithAlignmentRectInsets (UIKit.UIEdgeInsets alignmentInsets);
abstract member ImageWithAlignmentRectInsets : UIKit.UIEdgeInsets -> UIKit.UIImage
override this.ImageWithAlignmentRectInsets : UIKit.UIEdgeInsets -> UIKit.UIImage
Parameters
- alignmentInsets
- UIEdgeInsets
Alignment metadata that is to be applied to the new image.
Returns
A new image.
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.