Class MLImageConstraint

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MLImageConstraint
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MLImageConstraint

      protected MLImageConstraint()
    • MLImageConstraint

      protected MLImageConstraint​(NSObject.Handle h, long handle)
    • MLImageConstraint

      protected MLImageConstraint​(NSObject.SkipInit skipInit)
    • MLImageConstraint

      public MLImageConstraint​(NSCoder coder)
  • Method Details

    • getPixelsHigh

      public long getPixelsHigh()
    • getPixelsWide

      public long getPixelsWide()
    • getPixelFormatType

      public int getPixelFormatType()
    • getSizeConstraint

      public MLImageSizeConstraint getSizeConstraint()
      Since:
      Available in iOS 12.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)