Package apple.uikit

Class UIResolvedShape

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class UIResolvedShape
    extends NSObject
    implements NSCopying
    A shape that has been resolved based on a `ResolutionContext`. API-Since: 17.0
    • Constructor Detail

      • UIResolvedShape

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

        public CGRect boundingRect()
        The bounding rect in which the shape is framed.
      • 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()
      • copyWithZone

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

        @NotNull
        public @NotNull UIBezierPath path()
        The bezier path representing this shape.
      • 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)
      • shape

        @NotNull
        public @NotNull UIShape shape()
        The abstract shape that produced this resolved shape.
      • shapeByApplyingInset

        @NotNull
        public @NotNull UIResolvedShape shapeByApplyingInset​(double inset)
        Insets this shape by the provided `inset`, returning a new modified shape. Negative values can be used to add inner padding to a shape. If this shape is not insettable (e.g., if it is a custom path), this has no effect. For some shapes like rounded rectangles, this can also modify the corner radii of the shape to ensure the resulting corners are concentric.
      • shapeByApplyingInsets

        @NotNull
        public @NotNull UIResolvedShape shapeByApplyingInsets​(UIEdgeInsets insets)
        Insets this shape by the provided `insets`, returning a new modified shape. Negative values can be used to add inner padding to a shape. If this shape is not insettable (e.g., if it is a custom path), this has no effect. For some shapes like rounded rectangles, this can also modify the corner radii of the shape to ensure the resulting corners are concentric.
      • superclass_static

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

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

        public static long version_static()