Package apple.uikit

Class NSStringDrawingContext

  • All Implemented Interfaces:
    NSObject

    public class NSStringDrawingContext
    extends NSObject
    When attributes=nil, the methods declared here uses the default behavior for each attribute described in . When stringDrawingContext=nil, it's equivalent of passing the default instance initialized with [[NSStringDrawingContext alloc] init]. API-Since: 6.0
    • Constructor Detail

      • NSStringDrawingContext

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSStringDrawingContext 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()
      • 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)
      • 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()
      • actualScaleFactor

        public double actualScaleFactor()
        actual scale factor used by the last drawing call where minimum scale factor was specified
      • actualTrackingAdjustment

        @Deprecated
        public double actualTrackingAdjustment()
        Deprecated.
        API-Since: 6.0 Deprecated-Since: 7.0
      • minimumScaleFactor

        public double minimumScaleFactor()
        Minimum scale factor for drawWithRect:options:context: and boundingRectWithSize:options:context: methods. If this property is set, the extended string drawing methods will attempt to draw the attributed string in the given bounds by proportionally scaling the font(s) in the attributed string
      • minimumTrackingAdjustment

        @Deprecated
        public double minimumTrackingAdjustment()
        Deprecated.
        API-Since: 6.0 Deprecated-Since: 7.0
      • setMinimumScaleFactor

        public void setMinimumScaleFactor​(double value)
        Minimum scale factor for drawWithRect:options:context: and boundingRectWithSize:options:context: methods. If this property is set, the extended string drawing methods will attempt to draw the attributed string in the given bounds by proportionally scaling the font(s) in the attributed string
      • setMinimumTrackingAdjustment

        @Deprecated
        public void setMinimumTrackingAdjustment​(double value)
        Deprecated.
        API-Since: 6.0 Deprecated-Since: 7.0
      • totalBounds

        public CGRect totalBounds()
        bounds of the string drawn by the previous invocation of drawWithRect:options:context:
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.