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, getDarkerColordraw, draw, draw, drawDiscontinuousBorders, equals, getBorderSide, getColor, getDotsGap, getIntersectionPoint, getOpacity, getStartingPointsForBorderSide, getWidth, hashCode, setColor, setWidthpublic RidgeBorder(float width)
width - width of the borderpublic RidgeBorder(DeviceRgb color, float width)
rgb color.width - width of the bordercolor - the rgb color of the borderpublic RidgeBorder(DeviceCmyk color, float width)
cmyk color.width - width of the bordercolor - the cmyk color of the borderpublic RidgeBorder(DeviceGray color, float width)
gray color.width - width of the bordercolor - the gray color of the borderpublic RidgeBorder(DeviceRgb color, float width, float opacity)
color - color of the borderwidth - width of the borderopacity - opacity of the borderpublic RidgeBorder(DeviceCmyk color, float width, float opacity)
color - color of the borderwidth - width of the borderopacity - opacity of the borderpublic RidgeBorder(DeviceGray color, float width, float opacity)
color - color of the borderwidth - width of the borderopacity - opacity of the borderpublic int getType()
borderprotected void setInnerHalfColor(PdfCanvas canvas, Border.Side side)
3D BordersetInnerHalfColor in class Border3Dcanvas - PdfCanvas the color will be applied onside - the side the color will be applied onprotected void setOuterHalfColor(PdfCanvas canvas, Border.Side side)
3D BordersetOuterHalfColor in class Border3Dcanvas - PdfCanvas the color will be applied onside - the side the color will be applied onCopyright © 1998–2020 iText Group NV. All rights reserved.