DiagramFormattedTextFragment

Inheritance: java.lang.Object, com.groupdocs.watermark.search.FormattedTextFragment

public class DiagramFormattedTextFragment extends FormattedTextFragment

Represents a fragment of formatted text in a Visio document.

Methods

Method Description
getText() Gets the fragment text.
getFont() Gets the font of the text.
getForegroundColor() Gets the foreground color of the text.
getBackgroundColor() Gets the background color of the text.

getText()

public String getText()

Gets the fragment text.

Returns: java.lang.String - The fragment text.

getFont()

public Font getFont()

Gets the font of the text.

Returns: Font - The font of the text.

getForegroundColor()

public Color getForegroundColor()

Gets the foreground color of the text.

Returns: Color - The foreground color of the text.

getBackgroundColor()

public Color getBackgroundColor()

Gets the background color of the text.

Returns: Color - The background color of the text.