public class RidgeBorder extends Border3D
Border.Side
_3D_GROOVE, _3D_INSET, _3D_OUTSET, _3D_RIDGE, DASHED, DASHED_FIXED, DOTTED, DOUBLE, NO_BORDER, ROUND_DOTS, SOLID, transparentColor, type, width
Constructor and Description |
---|
RidgeBorder(DeviceCmyk color, float width)
Creates a RidgeBorder instance with the specified width and the cmyk color .
|
RidgeBorder(DeviceCmyk color, float width, float opacity)
Creates a RidgeBorder instance with the specified width, color and opacity.
|
RidgeBorder(DeviceGray color, float width)
Creates a RidgeBorder instance with the specified width and the gray color .
|
RidgeBorder(DeviceGray color, float width, float opacity)
Creates a RidgeBorder instance with the specified width, color and opacity.
|
RidgeBorder(DeviceRgb color, float width)
Creates a RidgeBorder instance with the specified width and the rgb color .
|
RidgeBorder(DeviceRgb color, float width, float opacity)
Creates a RidgeBorder instance with the specified width, color and opacity.
|
RidgeBorder(float width)
Creates a RidgeBorder instance with the specified width.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Returns the type of the border
|
protected void |
setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
draw, drawCellBorder, getDarkerColor
draw, draw, draw, drawDiscontinuousBorders, equals, getBorderSide, getColor, getDotsGap, getIntersectionPoint, getOpacity, getStartingPointsForBorderSide, getWidth, hashCode, setColor, setWidth
public RidgeBorder(float width)
width
- width of the border
public RidgeBorder(DeviceRgb color, float width)
rgb color
.
width
- width of the border
color
- the rgb color
of the border
public RidgeBorder(DeviceCmyk color, float width)
cmyk color
.
width
- width of the border
color
- the cmyk color
of the border
public RidgeBorder(DeviceGray color, float width)
gray color
.
width
- width of the border
color
- the gray color
of the border
public RidgeBorder(DeviceRgb color, float width, float opacity)
color
- color of the border
width
- width of the border
opacity
- opacity of the border
public RidgeBorder(DeviceCmyk color, float width, float opacity)
color
- color of the border
width
- width of the border
opacity
- opacity of the border
public RidgeBorder(DeviceGray color, float width, float opacity)
color
- color of the border
width
- width of the border
opacity
- opacity of the border
public int getType()
border
protected void setInnerHalfColor(PdfCanvas canvas, Border.Side side)
3D Border
setInnerHalfColor
in class Border3D
canvas
- PdfCanvas the color will be applied on
side
- the side
the color will be applied on
protected void setOuterHalfColor(PdfCanvas canvas, Border.Side side)
3D Border
setOuterHalfColor
in class Border3D
canvas
- PdfCanvas the color will be applied on
side
- the side
the color will be applied on
Copyright © 1998–2023 iText Group NV. All rights reserved.