ResizeMode

public enum ResizeMode

To choe wether the target image size is in points or in pixels

  • The resized image will have the targetted size in pixels

    Declaration

    Swift

    case pixels
  • The resized image will have the targeted size in points (and so for a 3x screen the height and the width in pixels are multiplied by 3)

    Declaration

    Swift

    case points