Class SKLabelNode

    • Constructor Detail

      • SKLabelNode

        public SKLabelNode()
      • SKLabelNode

        public SKLabelNode​(java.lang.String text)
      • SKLabelNode

        public SKLabelNode​(NSAttributedString attributedText)
        Since:
        Available in iOS 11.0 and later.
      • SKLabelNode

        public SKLabelNode​(NSCoder decoder)
      • SKLabelNode

        public SKLabelNode​(java.lang.String text,
                           java.lang.String fontName)
    • Method Detail

      • getNumberOfLines

        public long getNumberOfLines()
        Since:
        Available in iOS 11.0 and later.
      • setNumberOfLines

        public void setNumberOfLines​(long v)
        Since:
        Available in iOS 11.0 and later.
      • getLineBreakMode

        public NSLineBreakMode getLineBreakMode()
        Since:
        Available in iOS 11.0 and later.
      • setLineBreakMode

        public void setLineBreakMode​(NSLineBreakMode v)
        Since:
        Available in iOS 11.0 and later.
      • getPreferredMaxLayoutWidth

        public double getPreferredMaxLayoutWidth()
        Since:
        Available in iOS 11.0 and later.
      • setPreferredMaxLayoutWidth

        public void setPreferredMaxLayoutWidth​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getFontName

        public java.lang.String getFontName()
      • setFontName

        public void setFontName​(java.lang.String v)
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String v)
      • getAttributedText

        public NSAttributedString getAttributedText()
        Since:
        Available in iOS 11.0 and later.
      • setAttributedText

        public void setAttributedText​(NSAttributedString v)
        Since:
        Available in iOS 11.0 and later.
      • getFontSize

        public double getFontSize()
      • setFontSize

        public void setFontSize​(double v)
      • getFontColor

        public UIColor getFontColor()
      • setFontColor

        public void setFontColor​(UIColor v)
      • getColorBlendFactor

        public double getColorBlendFactor()
      • setColorBlendFactor

        public void setColorBlendFactor​(double v)
      • getColor

        public UIColor getColor()
      • setColor

        public void setColor​(UIColor v)
      • setBlendMode

        public void setBlendMode​(SKBlendMode v)
      • create

        protected static long create​(java.lang.String text)
      • create

        protected static long create​(NSAttributedString attributedText)
        Since:
        Available in iOS 11.0 and later.