Constructor and Description |
---|
TextElement(T value,
double x,
double y,
double width,
double height)
Initializes new instance of
TextElement{T} class. |
public TextElement(T value, double x, double y, double width, double height)
Initializes new instance of TextElement{T}
class.
value
- The text element value.x
- The X coordinate of the highest left point on the page layout where the rectangle that contains element begins.y
- The Y coordinate of the highest left point on the page layout where the rectangle that contains element begins.width
- The width of the rectangle which contains the element (in pixels).height
- The height of the rectangle which contains the element (in pixels).IllegalArgumentException
- Thrown when value
is null.IllegalArgumentException
- Thrown when width
is less or equal to zero.IllegalArgumentException
- Thrown when height
is less or equal to zero.public final double getHeight()
public final T getValue()
public final double getWidth()
public final double getX()
public final double getY()
Copyright © 2020. All rights reserved.