One Logo Pool Ball
CoreML · IOS API REFERENCE

MLImageConstraint

class · iOS 11.0+ · SDK 27.1

class MLImageConstraint

Members (4)

get · iOS 11.0+

pixelFormatType

TypeScript
get pixelFormatType(): SDKHandle
Swift declaration
var pixelFormatType: OSType { get }
get · iOS 11.0+

pixelsHigh

TypeScript
get pixelsHigh(): number
Swift declaration
var pixelsHigh: Int { get }
get · iOS 11.0+

pixelsWide

TypeScript
get pixelsWide(): number
Swift declaration
var pixelsWide: Int { get }
get · iOS 12.0+

sizeConstraint

TypeScript
get sizeConstraint(): MLImageSizeConstraint
Swift declaration
var sizeConstraint: MLImageSizeConstraint { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MLImageConstraint.init()

inherited init: clang: 'init' is unavailable

All CoreML types →