public class BorderStyleAltObject extends Object
Constructor and Description |
---|
BorderStyleAltObject(float hCornerRadius, float vCornerRadius, float width)
Creates an instance that encapsulates BorderStyleAlt XFDF element data.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets border style.
|
float[] |
getDashPattern()
Gets the dash pattern of the border.
|
float |
getHCornerRadius()
Gets the horizontal corner radius of the rectangular border.
|
float |
getVCornerRadius()
Gets the vertical corner radius of the rectangular border.
|
float |
getWidth()
Gets the width of the rectangular border.
|
BorderStyleAltObject |
setContent(String content)
Sets border style.
|
BorderStyleAltObject |
setDashPattern(float[] dashPattern)
Sets the dash pattern of the border.
|
public BorderStyleAltObject(float hCornerRadius, float vCornerRadius, float width)
hCornerRadius
- a float value specifying the horizontal corner radius of the rectangular border.
vCornerRadius
- a float value specifying the vertical corner radius of the rectangular border.
width
- a float value specifying the width of the rectangular border.
public float getHCornerRadius()
public float getVCornerRadius()
public float getWidth()
public float[] getDashPattern()
public BorderStyleAltObject setDashPattern(float[] dashPattern)
dashPattern
- an array of numbers specifying the pattern of dashes and gaps of the border.
BorderStyleAltObject
instance.
public String getContent()
public BorderStyleAltObject setContent(String content)
content
- an encoded border style as string.
BorderStyleAltObject
instance.
Copyright © 1998–2022 iText Group NV. All rights reserved.