Package | Description |
---|---|
com.itextpdf.layout.borders |
Modifier and Type | Method and Description |
---|---|
protected Border.Side |
Border.getBorderSide(float x1, float y1, float x2, float y2, Border.Side defaultSide)
Returns the side corresponded to the line between two points.
|
static Border.Side |
Border.Side.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Border.Side[] |
Border.Side.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
FixedDashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
abstract void |
Border.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
Border3D.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DottedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DoubleBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
RoundDotsBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
SolidBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
Border.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderRadius, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
FixedDashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
Border.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DottedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter) |
void |
RoundDotsBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
SolidBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
FixedDashedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
abstract void |
Border.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
Border3D.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
DottedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
DashedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
DoubleBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
RoundDotsBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
SolidBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
protected void |
Border.drawDiscontinuousBorders(PdfCanvas canvas, Rectangle boundingRectangle, float[] horizontalRadii, float[] verticalRadii, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
Perform drawing operations to draw discontinuous borders.
|
protected Border.Side |
Border.getBorderSide(float x1, float y1, float x2, float y2, Border.Side defaultSide)
Returns the side corresponded to the line between two points.
|
protected float[] |
Border.getStartingPointsForBorderSide(float x1, float y1, float x2, float y2, Border.Side defaultSide)
Calculate adjusted starting points for discontinuous borders, given two opposing points (A and B) that define the bounding rectangle
|
protected void |
OutsetBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected abstract void |
Border3D.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
GrooveBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
RidgeBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
InsetBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
OutsetBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected abstract void |
Border3D.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
GrooveBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
RidgeBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
InsetBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
Copyright © 1998–2023 iText Group NV. All rights reserved.