Class SKConstraint

    • Constructor Detail

      • SKConstraint

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        @NotNull
        public static @NotNull 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

        @NotNull
        public static @NotNull SKConstraint distanceToNode​(@NotNull
                                                           @NotNull SKRange range,
                                                           @NotNull
                                                           @NotNull SKNode node)
        Constrain the node's position to be within a distance of a point or node
      • distanceToPoint

        @NotNull
        public static @NotNull SKConstraint distanceToPoint​(@NotNull
                                                            @NotNull SKRange range,
                                                            CGPoint point)
      • distanceToPointInNode

        @NotNull
        public static @NotNull SKConstraint distanceToPointInNode​(@NotNull
                                                                  @NotNull SKRange range,
                                                                  CGPoint point,
                                                                  @NotNull
                                                                  @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • orientToNodeOffset

        @NotNull
        public static @NotNull SKConstraint orientToNodeOffset​(@NotNull
                                                               @NotNull SKNode node,
                                                               @NotNull
                                                               @NotNull SKRange radians)
        Constrain the node's rotation to orient to a point or node
      • orientToPointInNodeOffset

        @NotNull
        public static @NotNull SKConstraint orientToPointInNodeOffset​(CGPoint point,
                                                                      @NotNull
                                                                      @NotNull SKNode node,
                                                                      @NotNull
                                                                      @NotNull SKRange radians)
      • orientToPointOffset

        @NotNull
        public static @NotNull SKConstraint orientToPointOffset​(CGPoint point,
                                                                @NotNull
                                                                @NotNull SKRange radians)
      • positionX

        @NotNull
        public static @NotNull SKConstraint positionX​(@NotNull
                                                      @NotNull SKRange range)
        Constrain the node's position to a range
      • positionXY

        @NotNull
        public static @NotNull SKConstraint positionXY​(@NotNull
                                                       @NotNull SKRange xRange,
                                                       @NotNull
                                                       @NotNull SKRange yRange)
      • positionY

        @NotNull
        public static @NotNull SKConstraint positionY​(@NotNull
                                                      @NotNull 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

        @NotNull
        public static @NotNull SKConstraint zRotation​(@NotNull
                                                      @NotNull SKRange zRange)
        Constrain the node's rotation to a range
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable 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

        @Nullable
        public @Nullable 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​(@Nullable
                                     @Nullable 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
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.