public class Character extends TextElement<Character>
Represents relatively positioned rectangle which contains single character.
Constructor and Description |
---|
Character(char character,
double x,
double y,
double width,
double height)
Initializes new instance of
Character class. |
public Character(char character, double x, double y, double width, double height)
Initializes new instance of Character
class.
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).public String toString()
Returns a string that represents the current object.
toString
in class TextElement<Character>
Copyright © 2020. All rights reserved.