com.aspose.note

Class Style<T extends Style>

    • Constructor Detail

      • Style

        public Style()
    • Method Detail

      • isBold

        public final boolean isBold()

        Gets or sets a value indicating whether the text style is bold.

      • setBold

        public final T setBold(boolean value)

        Gets or sets a value indicating whether the text style is bold.

      • isItalic

        public final boolean isItalic()

        Gets or sets a value indicating whether the text style is italic.

      • setItalic

        public final T setItalic(boolean value)

        Gets or sets a value indicating whether the text style is italic.

      • isUnderline

        public final boolean isUnderline()

        Gets or sets a value indicating whether the text style is underline.

      • setUnderline

        public final T setUnderline(boolean value)

        Gets or sets a value indicating whether the text style is underline.

      • isStrikethrough

        public final boolean isStrikethrough()

        Gets or sets a value indicating whether the text style is strikethrough.

      • setStrikethrough

        public final T setStrikethrough(boolean value)

        Gets or sets a value indicating whether the text style is strikethrough.

      • isSuperscript

        public final boolean isSuperscript()

        Gets or sets a value indicating whether the text style is superscript.

      • setSuperscript

        public final T setSuperscript(boolean value)

        Gets or sets a value indicating whether the text style is superscript.

      • isSubscript

        public final boolean isSubscript()

        Gets or sets a value indicating whether the text style is subscript.

      • setSubscript

        public final T setSubscript(boolean value)

        Gets or sets a value indicating whether the text style is subscript.

      • getFontName

        public final String getFontName()

        Gets or sets the font name.

      • setFontName

        public final T setFontName(String value)

        Gets or sets the font name.

      • getFontSize

        public final Integer getFontSize()

        Gets or sets the font size.

      • setFontSize

        public final T setFontSize(Integer value)

        Gets or sets the font size.

      • getFontColor

        public final Color getFontColor()

        Gets or sets the font color.

      • setFontColor

        public final T setFontColor(Color value)

        Gets or sets the font color.

      • getHighlight

        public final Color getHighlight()

        Gets or sets the highlight color.

      • setHighlight

        public final T setHighlight(Color value)

        Gets or sets the highlight color.

      • getFontStyle

        public final int getFontStyle()

        Gets the font style.

      • hashCode

        public int hashCode()

        Serves as a hash function for the type.

        Overrides:
        hashCode in class Object
        Returns:
        The int.