Example usage for Java com.lowagie.text Rectangle fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TOP This represents one side of the border of the Rectangle . |
int | BOTTOM This represents one side of the border of the Rectangle . |
int | LEFT This represents one side of the border of the Rectangle . |
int | RIGHT This represents one side of the border of the Rectangle . |
int | NO_BORDER This represents a rectangle without borders. |
int | BOX This represents a type of border. |
Rectangle(float llx, float lly, float urx, float ury) Constructs a Rectangle -object. | |
Rectangle(float urx, float ury) Constructs a Rectangle -object starting from the origin (0, 0). | |
Rectangle(Rectangle rect) Constructs a Rectangle -object. |
float | getBorderWidthBottom() Gets the width of the bottom border. |
float | getBorderWidthLeft() Gets the width of the left border. |
float | getBorderWidthRight() Gets the width of the right border. |
float | getBorderWidthTop() Gets the width of the top border. |
float | getBottom() Returns the lower left y-coordinate. |
float | getBottom(float margin) Returns the lower left y-coordinate, considering a given margin. |
float | getHeight() Returns the height of the rectangle. |
float | getLeft() Returns the lower left x-coordinate. |
float | getLeft(float margin) Returns the lower left x-coordinate, considering a given margin. |
float | getRight(float margin) Returns the upper right x-coordinate, considering a given margin. |
float | getRight() Returns the upper right x-coordinate. |
int | getRotation() Gets the rotation of the rectangle |
float | getTop(float margin) Returns the upper right y-coordinate, considering a given margin. |
float | getTop() Returns the upper right y-coordinate. |
float | getWidth() Returns the width of the rectangle. |
Rectangle | rotate() Rotates the rectangle. |
void | setBackgroundColor(Color backgroundColor) Sets the backgroundcolor of the rectangle. |
void | setBorder(int border) Enables/Disables the border on the specified sides. |
void | setBorderColor(Color borderColor) Sets the color of the border. |
void | setBorderColorBottom(Color borderColorBottom) Sets the color of the bottom border. |
void | setBorderColorLeft(Color borderColorLeft) Sets the color of the left border. |
void | setBorderColorRight(Color borderColorRight) Sets the color of the right border. |
void | setBorderColorTop(Color borderColorTop) Sets the color of the top border. |
void | setBorderWidthBottom(float borderWidthBottom) Sets the width of the bottom border. |
void | setBorderWidthLeft(float borderWidthLeft) Sets the width of the left border. |
void | setBorderWidthRight(float borderWidthRight) Sets the width of the right border. |
void | setBorderWidthTop(float borderWidthTop) Sets the width of the top border. |
void | setBottom(float lly) Sets the lower left y-coordinate. |
void | setGrayFill(float value) Sets the the background color to a grayscale value. |
void | setLeft(float llx) Sets the lower left x-coordinate. |
void | setRight(float urx) Sets the upper right x-coordinate. |
void | setTop(float ury) Sets the upper right y-coordinate. |