Java com.lowagie.text Rectangle fields, constructors, methods, implement or subclass

Example usage for Java com.lowagie.text Rectangle fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.lowagie.text Rectangle.

The text is from its open source code.

Subclass

com.lowagie.text.Rectangle has subclasses.
Click this link to see all its subclasses.

Field

intTOP
This represents one side of the border of the Rectangle.
intBOTTOM
This represents one side of the border of the Rectangle.
intLEFT
This represents one side of the border of the Rectangle.
intRIGHT
This represents one side of the border of the Rectangle.
intNO_BORDER
This represents a rectangle without borders.
intBOX
This represents a type of border.

Constructor

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.

Method

floatgetBorderWidthBottom()
Gets the width of the bottom border.
floatgetBorderWidthLeft()
Gets the width of the left border.
floatgetBorderWidthRight()
Gets the width of the right border.
floatgetBorderWidthTop()
Gets the width of the top border.
floatgetBottom()
Returns the lower left y-coordinate.
floatgetBottom(float margin)
Returns the lower left y-coordinate, considering a given margin.
floatgetHeight()
Returns the height of the rectangle.
floatgetLeft()
Returns the lower left x-coordinate.
floatgetLeft(float margin)
Returns the lower left x-coordinate, considering a given margin.
floatgetRight(float margin)
Returns the upper right x-coordinate, considering a given margin.
floatgetRight()
Returns the upper right x-coordinate.
intgetRotation()
Gets the rotation of the rectangle
floatgetTop(float margin)
Returns the upper right y-coordinate, considering a given margin.
floatgetTop()
Returns the upper right y-coordinate.
floatgetWidth()
Returns the width of the rectangle.
Rectanglerotate()
Rotates the rectangle.
voidsetBackgroundColor(Color backgroundColor)
Sets the backgroundcolor of the rectangle.
voidsetBorder(int border)
Enables/Disables the border on the specified sides.
voidsetBorderColor(Color borderColor)
Sets the color of the border.
voidsetBorderColorBottom(Color borderColorBottom)
Sets the color of the bottom border.
voidsetBorderColorLeft(Color borderColorLeft)
Sets the color of the left border.
voidsetBorderColorRight(Color borderColorRight)
Sets the color of the right border.
voidsetBorderColorTop(Color borderColorTop)
Sets the color of the top border.
voidsetBorderWidthBottom(float borderWidthBottom)
Sets the width of the bottom border.
voidsetBorderWidthLeft(float borderWidthLeft)
Sets the width of the left border.
voidsetBorderWidthRight(float borderWidthRight)
Sets the width of the right border.
voidsetBorderWidthTop(float borderWidthTop)
Sets the width of the top border.
voidsetBottom(float lly)
Sets the lower left y-coordinate.
voidsetGrayFill(float value)
Sets the the background color to a grayscale value.
voidsetLeft(float llx)
Sets the lower left x-coordinate.
voidsetRight(float urx)
Sets the upper right x-coordinate.
voidsetTop(float ury)
Sets the upper right y-coordinate.