TextStyle

Inheritance: java.lang.Object, com.aspose.pdf.comparison.outputgenerator.TextStyle

public class TextStyle extends Object

Represents a text style class.

Constructors

ConstructorDescription
TextStyle

Methods

MethodDescription
getBackgroundColorGets and sets the background color.
getColorGets and sets the text color.
setBackgroundColorGets and sets the background color.
setColorGets and sets the text color.

TextStyle

public TextStyle()

getBackgroundColor

public final Color getBackgroundColor()

Gets and sets the background color.

Returns: Color instance

getColor

public final Color getColor()

Gets and sets the text color.

Returns: Color instance

setBackgroundColor

Gets and sets the background color.

setColor

Gets and sets the text color.