Class UIRegion

All Implemented Interfaces:
NSCoding, NSObjectProtocol, ObjCProtocol

public class UIRegion
extends NSObject
implements NSCoding
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • UIRegion

      public UIRegion()
    • UIRegion

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

      protected UIRegion​(NSObject.SkipInit skipInit)
    • UIRegion

      public UIRegion​(double radius)
    • UIRegion

      public UIRegion​(CGSize size)
    • UIRegion

      public UIRegion​(NSCoder coder)
  • Method Details

    • getInfiniteRegion

      public static UIRegion getInfiniteRegion()
    • init

      protected long init​(double radius)
    • init

      protected long init​(CGSize size)
    • inverse

      public UIRegion inverse()
    • union

      public UIRegion union​(UIRegion region)
    • difference

      public UIRegion difference​(UIRegion region)
    • intersection

      public UIRegion intersection​(UIRegion region)
    • containsPoint

      public boolean containsPoint​(CGPoint point)
    • encode

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

      protected long init​(NSCoder coder)