java.lang.Object
com.tlcsdm.core.javafx.richtext.hyperlink.TextStyle

class TextStyle extends Object
Holds information about the style of a text fragment.
作者:
unknowIfGuestInDream
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • bold

      public static TextStyle bold(boolean bold)
    • italic

      public static TextStyle italic(boolean italic)
    • underline

      public static TextStyle underline(boolean underline)
    • strikethrough

      public static TextStyle strikethrough(boolean strikethrough)
    • fontSize

      public static TextStyle fontSize(int fontSize)
    • fontFamily

      public static TextStyle fontFamily(String family)
    • textColor

      public static TextStyle textColor(javafx.scene.paint.Color color)
    • backgroundColor

      public static TextStyle backgroundColor(javafx.scene.paint.Color color)
    • cssColor

      static String cssColor(javafx.scene.paint.Color color)
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object other)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • toCss

      public String toCss()
    • updateWith

      public TextStyle updateWith(TextStyle mixin)
    • updateBold

      public TextStyle updateBold(boolean bold)
    • updateItalic

      public TextStyle updateItalic(boolean italic)
    • updateUnderline

      public TextStyle updateUnderline(boolean underline)
    • updateStrikethrough

      public TextStyle updateStrikethrough(boolean strikethrough)
    • updateFontSize

      public TextStyle updateFontSize(int fontSize)
    • updateFontFamily

      public TextStyle updateFontFamily(String fontFamily)
    • updateTextColor

      public TextStyle updateTextColor(javafx.scene.paint.Color textColor)
    • updateBackgroundColor

      public TextStyle updateBackgroundColor(javafx.scene.paint.Color backgroundColor)