Class MPSImageDilate

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
MPSImageErode

public class MPSImageDilate
extends MPSUnaryImageKernel
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • MPSImageDilate

      public MPSImageDilate()
    • MPSImageDilate

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

      protected MPSImageDilate​(NSObject.SkipInit skipInit)
    • MPSImageDilate

      public MPSImageDilate​(MTLDevice device, long kernelWidth, long kernelHeight, FloatPtr values)
    • MPSImageDilate

      public MPSImageDilate​(NSCoder decoder, MTLDevice device)
      Since:
      Available in iOS 11.0 and later.
    • MPSImageDilate

      public MPSImageDilate​(NSCoder coder)
  • Method Details

    • getKernelHeight

      public long getKernelHeight()
    • getKernelWidth

      public long getKernelWidth()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, long kernelWidth, long kernelHeight, FloatPtr values)
    • init

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSUnaryImageKernel
      Since:
      Available in iOS 11.0 and later.