Class PKEraserTool

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class PKEraserTool
    extends PKTool
    An eraser tool for erasing parts of a drawing. API-Since: 13.0
    • Constructor Detail

      • PKEraserTool

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PKEraserTool 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()
      • eraserType

        public long eraserType()
        The eraser type.
      • hash_static

        public static long hash_static()
      • initWithEraserType

        public PKEraserTool initWithEraserType​(long eraserType)
      • 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)
      • 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()
      • defaultWidthForEraserType

        public static double defaultWidthForEraserType​(long eraserType)
        The default width for an eraser type. API-Since: 16.4
      • initWithEraserTypeWidth

        public PKEraserTool initWithEraserTypeWidth​(long eraserType,
                                                    double width)
        Create a new eraser tool with a width.
        Parameters:
        eraserType - The type of eraser.
        width - The width of the eraser. API-Since: 16.4
      • maximumWidthForEraserType

        public static double maximumWidthForEraserType​(long eraserType)
        The maximum width for an eraser type. API-Since: 16.4
      • minimumWidthForEraserType

        public static double minimumWidthForEraserType​(long eraserType)
        The minimum width for an eraser type. API-Since: 16.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • width

        public double width()
        The width of the eraser. API-Since: 16.4