com.groupdocs.viewer.results

Class Character



  • public class Character
    extends TextElement<Character>

    Represents relatively positioned rectangle which contains single character.

    • Constructor Detail

      • Character

        public Character(char character,
                 double x,
                 double y,
                 double width,
                 double height)

        Initializes new instance of Character class.

        Parameters:
        character - The character.
        x - The X coordinate of the highest left point on the page layout where the rectangle that contains character begins.
        y - The Y coordinate of the highest left point on the page layout where the rectangle that contains character begins.
        width - The width of the rectangle which contains single character (in pixels).
        height - The height of the rectangle which contains single character (in pixels).
    • Method Detail

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class TextElement<Character>
        Returns:
        A string that represents the current object.