Edit

Share via


UIColor.FromPatternImage(UIImage) Method

Definition

Creates a UIColor based on an image, the color can then be used as a brush to paint with the image.

[Foundation.Export("colorWithPatternImage:")]
public static UIKit.UIColor FromPatternImage (UIKit.UIImage image);
static member FromPatternImage : UIKit.UIImage -> UIKit.UIColor

Parameters

image
UIImage

Image to use as a pattern

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to