Class CATextLayer

    • Constructor Detail

      • CATextLayer

        protected CATextLayer​(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)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • 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()
      • debugDescription_static

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

        public static CAAction defaultActionForKey​(java.lang.String event)
      • defaultValueForKey

        public static java.lang.Object defaultValueForKey​(java.lang.String key)
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • needsDisplayForKey

        public static boolean needsDisplayForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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()
      • alignmentMode

        public java.lang.String alignmentMode()
        Describes how individual lines of text are aligned within the layer bounds. The possible options are `natural', `left', `right', `center' and `justified'. Defaults to `natural'.
      • allowsFontSubpixelQuantization

        public boolean allowsFontSubpixelQuantization()
        Sets allowsFontSubpixelQuantization parameter of CGContextRef passed to the -drawInContext: method. Defaults to NO.
      • font

        public org.moe.natj.general.ptr.ConstVoidPtr font()
        The font to use, currently may be either a CTFontRef (toll-free bridged from UIFont), a CGFontRef, or a string naming the font. Defaults to the Helvetica font. Only used when the `string' property is not an NSAttributedString.
      • fontSize

        public double fontSize()
        The font size. Defaults to 36. Only used when the `string' property is not an NSAttributedString. Animatable (Mac OS X 10.6 and later.)
      • foregroundColor

        public CGColorRef foregroundColor()
        The color object used to draw the text. Defaults to opaque white. Only used when the `string' property is not an NSAttributedString. Animatable (Mac OS X 10.6 and later.)
      • initWithLayer

        public CATextLayer initWithLayer​(java.lang.Object layer)
        Description copied from class: CALayer
        This initializer is used by CoreAnimation to create shadow copies of layers, e.g. for use as presentation layers. Subclasses can override this method to copy their instance variables into the presentation layer (subclasses should call the superclass afterwards). Calling this method in any other situation will result in undefined behavior.
        Overrides:
        initWithLayer in class CALayer
      • isWrapped

        public boolean isWrapped()
        When true the string is wrapped to fit within the layer bounds. Defaults to NO.
      • setWrapped

        public void setWrapped​(boolean value)
        When true the string is wrapped to fit within the layer bounds. Defaults to NO.
      • setAlignmentMode

        public void setAlignmentMode​(java.lang.String value)
        Describes how individual lines of text are aligned within the layer bounds. The possible options are `natural', `left', `right', `center' and `justified'. Defaults to `natural'.
      • setAllowsFontSubpixelQuantization

        public void setAllowsFontSubpixelQuantization​(boolean value)
        Sets allowsFontSubpixelQuantization parameter of CGContextRef passed to the -drawInContext: method. Defaults to NO.
      • setFont

        public void setFont​(org.moe.natj.general.ptr.ConstVoidPtr value)
        The font to use, currently may be either a CTFontRef (toll-free bridged from UIFont), a CGFontRef, or a string naming the font. Defaults to the Helvetica font. Only used when the `string' property is not an NSAttributedString.
      • setFontSize

        public void setFontSize​(double value)
        The font size. Defaults to 36. Only used when the `string' property is not an NSAttributedString. Animatable (Mac OS X 10.6 and later.)
      • setForegroundColor

        public void setForegroundColor​(CGColorRef value)
        The color object used to draw the text. Defaults to opaque white. Only used when the `string' property is not an NSAttributedString. Animatable (Mac OS X 10.6 and later.)
      • setString

        public void setString​(java.lang.Object value)
        The text to be rendered, should be either an NSString or an NSAttributedString. Defaults to nil.
      • setTruncationMode

        public void setTruncationMode​(java.lang.String value)
        Describes how the string is truncated to fit within the layer bounds. The possible options are `none', `start', `middle' and `end'. Defaults to `none'.
      • string

        public java.lang.Object string()
        The text to be rendered, should be either an NSString or an NSAttributedString. Defaults to nil.
      • truncationMode

        public java.lang.String truncationMode()
        Describes how the string is truncated to fit within the layer bounds. The possible options are `none', `start', `middle' and `end'. Defaults to `none'.
      • 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
        Overrides:
        _supportsSecureCoding in class CALayer
      • cornerCurveExpansionFactor

        public static double cornerCurveExpansionFactor​(java.lang.String curve)