Class PKStrokePoint

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class PKStrokePoint
    extends NSObject
    implements NSCopying
    A point value stores all the attributes of a PKStroke at a specific point. `PKStrokePoint` stores its properties compressed, the value read for a property may not exactly equal the value set for a property.
    • Constructor Detail

      • PKStrokePoint

        protected PKStrokePoint​(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)
      • altitude

        public double altitude()
        Altitude used to create this point in radians, 0.0-π/2 radians
      • automaticallyNotifiesObserversForKey

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

        public double azimuth()
        Azimuth of the point in radians, 0.0-2π radians
      • 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()
      • copyWithZone

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

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

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

        public double force()
        Force used to create this point.
      • hash_static

        public static long hash_static()
      • initWithLocationTimeOffsetSizeOpacityForceAzimuthAltitude

        public PKStrokePoint initWithLocationTimeOffsetSizeOpacityForceAzimuthAltitude​(CGPoint location,
                                                                                       double timeOffset,
                                                                                       CGSize size,
                                                                                       double opacity,
                                                                                       double force,
                                                                                       double azimuth,
                                                                                       double altitude)
        Create a new point with the provided properties.
      • 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)
      • location

        public CGPoint location()
        Location of the point.
      • new_objc

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

        public double opacity()
        Opacity of the point 0-2.
      • 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)
      • size

        public CGSize size()
        Size of the point.
      • superclass_static

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

        public double timeOffset()
        Time offset since the start of the stroke path in seconds.
      • version_static

        public static long version_static()