Package org.robovm.apple.spritekit
Class SKRegion
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.spritekit.SKRegion
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class SKRegion extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SKRegion.SKRegionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsPoint(CGPoint point)
static SKRegion
createInfiniteRegion()
void
encode(NSCoder coder)
CGPath
getPath()
protected long
init(float radius)
protected long
init(CGPath path)
protected long
init(CGSize size)
protected long
init(NSCoder decoder)
SKRegion
inverseRegion()
SKRegion
newRegionByDifferenceFromRegion(SKRegion region)
SKRegion
newRegionByIntersectionWithRegion(SKRegion region)
SKRegion
newRegionByUnionWithRegion(SKRegion region)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
SKRegion
public SKRegion()
-
SKRegion
protected SKRegion(NSObject.Handle h, long handle)
-
SKRegion
protected SKRegion(NSObject.SkipInit skipInit)
-
SKRegion
public SKRegion(float radius)
-
SKRegion
public SKRegion(CGSize size)
-
SKRegion
public SKRegion(CGPath path)
-
SKRegion
public SKRegion(NSCoder decoder)
-
-
Method Detail
-
getPath
public CGPath getPath()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
protected long init(float radius)
-
init
protected long init(CGSize size)
-
init
protected long init(CGPath path)
-
inverseRegion
public SKRegion inverseRegion()
-
newRegionByIntersectionWithRegion
public SKRegion newRegionByIntersectionWithRegion(SKRegion region)
-
containsPoint
public boolean containsPoint(CGPoint point)
-
createInfiniteRegion
public static SKRegion createInfiniteRegion()
-
init
protected long init(NSCoder decoder)
-
-