Share via


UIImageResizingMode Enum

Definition

An enumeration of values that specify how a UIImage ought to be resized.

[ObjCRuntime.Native]
public enum UIImageResizingMode
[ObjCRuntime.Native(ConvertToManaged="UIImageResizingModeExtensions.ToManaged", ConvertToNative="UIImageResizingModeExtensions.ToNative")]
public enum UIImageResizingMode
[<ObjCRuntime.Native>]
type UIImageResizingMode = 
[<ObjCRuntime.Native(ConvertToManaged="UIImageResizingModeExtensions.ToManaged", ConvertToNative="UIImageResizingModeExtensions.ToNative")>]
type UIImageResizingMode = 
Inheritance
UIImageResizingMode
Attributes

Fields

Name Value Description
Tile 0

The contents of the original image are repeated as necessary to fill the interior of the new image.

Stretch 1

The contents of the original image are scaled to fill the interior of the new image.

Applies to

See also