Size

public enum Size : Double, Codable, Equatable, CaseIterable

Represents image size.

  • Output image size to 1x

    Declaration

    Swift

    case x1 = 1
  • Output image size to 2x

    Declaration

    Swift

    case x2 = 2
  • Output image size to 3x

    Declaration

    Swift

    case x3 = 3
  • Output image size to 4x

    Declaration

    Swift

    case x4 = 4
  • Output image size to 5x

    Declaration

    Swift

    case x5 = 5
  • Initializes a CarbonStyle.Size

    Declaration

    Swift

    public init?(factor string: String)

    Parameters

    factor

    Export image size.