UIImage.ImageWithAlignmentRectInsets(UIEdgeInsets) Method

Definition

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.

Applies to