Class SKLabelNode

    • Constructor Detail

      • SKLabelNode

        protected SKLabelNode​(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()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • 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

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

        public static SKLabelNode labelNodeWithFontNamed​(java.lang.String fontName)
      • labelNodeWithText

        public static SKLabelNode labelNodeWithText​(java.lang.String text)
      • new_objc

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

        public static SKLabelNode nodeWithFileNamed​(java.lang.String filename)
      • 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()
      • blendMode

        public long blendMode()
        Sets the blend mode to use when composing the sprite with the final framebuffer.
        See Also:
        SKNode.SKBlendMode
      • color

        public UIColor color()
        Color to be blended with the text based on the colorBlendFactor
      • colorBlendFactor

        public double colorBlendFactor()
        Controls the blending between the rendered text and a color. The valid interval of values is from 0.0 up to and including 1.0. A value above or below that interval is clamped to the minimum (0.0) if below or the maximum (1.0) if above.
      • fontColor

        public UIColor fontColor()
        Base color that the text is rendered with (if supported by the font)
      • fontName

        public java.lang.String fontName()
      • fontSize

        public double fontSize()
      • horizontalAlignmentMode

        public long horizontalAlignmentMode()
      • initWithFontNamed

        public SKLabelNode initWithFontNamed​(java.lang.String fontName)
      • setBlendMode

        public void setBlendMode​(long value)
        Sets the blend mode to use when composing the sprite with the final framebuffer.
        See Also:
        SKNode.SKBlendMode
      • setColor

        public void setColor​(UIColor value)
        Color to be blended with the text based on the colorBlendFactor
      • setColorBlendFactor

        public void setColorBlendFactor​(double value)
        Controls the blending between the rendered text and a color. The valid interval of values is from 0.0 up to and including 1.0. A value above or below that interval is clamped to the minimum (0.0) if below or the maximum (1.0) if above.
      • setFontColor

        public void setFontColor​(UIColor value)
        Base color that the text is rendered with (if supported by the font)
      • setFontName

        public void setFontName​(java.lang.String value)
      • setFontSize

        public void setFontSize​(double value)
      • setHorizontalAlignmentMode

        public void setHorizontalAlignmentMode​(long value)
      • setText

        public void setText​(java.lang.String value)
      • setVerticalAlignmentMode

        public void setVerticalAlignmentMode​(long value)
      • text

        public java.lang.String text()
      • verticalAlignmentMode

        public long verticalAlignmentMode()
      • lineBreakMode

        public long lineBreakMode()
        Determines the line break mode for multiple lines. Default is NSLineBreakByTruncatingTail
      • numberOfLines

        public long numberOfLines()
        Determines the number of lines to draw. The default value is 1 (single line). A value of 0 means no limit. If the height of the text reaches the # of lines the text will be truncated using the line break mode.
      • preferredMaxLayoutWidth

        public double preferredMaxLayoutWidth()
        If nonzero, this is used when determining layout width for multiline labels. Default is zero.
      • setLineBreakMode

        public void setLineBreakMode​(long value)
        Determines the line break mode for multiple lines. Default is NSLineBreakByTruncatingTail
      • setNumberOfLines

        public void setNumberOfLines​(long value)
        Determines the number of lines to draw. The default value is 1 (single line). A value of 0 means no limit. If the height of the text reaches the # of lines the text will be truncated using the line break mode.
      • setPreferredMaxLayoutWidth

        public void setPreferredMaxLayoutWidth​(double value)
        If nonzero, this is used when determining layout width for multiline labels. Default is zero.
      • nodeWithFileNamedSecurelyWithClassesAndError

        public static SKLabelNode nodeWithFileNamedSecurelyWithClassesAndError​(java.lang.String filename,
                                                                               NSSet<? extends org.moe.natj.objc.Class> classes,
                                                                               org.moe.natj.general.ptr.Ptr<NSError> error)
      • 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 SKNode