Class SKConstraint

    • Constructor Detail

      • SKConstraint

        protected SKConstraint​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • distanceToNode

        public static java.lang.Object distanceToNode​(SKRange range,
                                                      SKNode node)
        Constrain the node's position to be within a distance of a point or node
      • distanceToPoint

        public static java.lang.Object distanceToPoint​(SKRange range,
                                                       CGPoint point)
      • distanceToPointInNode

        public static java.lang.Object distanceToPointInNode​(SKRange range,
                                                             CGPoint point,
                                                             SKNode node)
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • orientToNodeOffset

        public static java.lang.Object orientToNodeOffset​(SKNode node,
                                                          SKRange radians)
        Constrain the node's rotation to orient to a point or node
      • orientToPointInNodeOffset

        public static java.lang.Object orientToPointInNodeOffset​(CGPoint point,
                                                                 SKNode node,
                                                                 SKRange radians)
      • orientToPointOffset

        public static java.lang.Object orientToPointOffset​(CGPoint point,
                                                           SKRange radians)
      • positionX

        public static java.lang.Object positionX​(SKRange range)
        Constrain the node's position to a range
      • positionXY

        public static java.lang.Object positionXY​(SKRange xRange,
                                                  SKRange yRange)
      • positionY

        public static java.lang.Object positionY​(SKRange range)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • zRotation

        public static java.lang.Object zRotation​(SKRange zRange)
        Constrain the node's rotation to a range
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • enabled

        public boolean enabled()
        Wether the constraint should apply. Defualts to YES
      • referenceNode

        public SKNode referenceNode()
        Reference node to transform the values to before apply the constraint limits. Defaults to nil (no transfrom).
      • setEnabled

        public void setEnabled​(boolean value)
        Wether the constraint should apply. Defualts to YES
      • setReferenceNode

        public void setReferenceNode​(SKNode value)
        Reference node to transform the values to before apply the constraint limits. Defaults to nil (no transfrom).
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding