com.aspose.pdf.facades

Class TextProperties



  • public final class TextProperties
    extends Object

    Represents text properties such as: text size, color, style etc.

    • Constructor Detail

      • TextProperties

        public TextProperties(double textSize)

        Creates TextProperties object for the specified text size

        Parameters:
        textSize - Text size value.
    • Method Detail

      • getColor

        public Color getColor()

        Gets text color.

        Returns:
        Color object
      • setColor

        public void setColor(Color value)

        Sets text color.

        Parameters:
        value - Color object
      • isColorSpecified

        public boolean isColorSpecified()

        Gets a value that indicates whether the Color property is specified.

        Returns:
        boolean value
      • getTextSize

        public double getTextSize()

        Gets text size.

        Returns:
        double value
      • setTextSize

        public void setTextSize(double value)

        Sets text size.

        Parameters:
        value - double value
      • isTextSizeSpecified

        public boolean isTextSizeSpecified()

        Gets a value that indicates whether the TextSize property is specified.

        Returns:
        boolean value