java.lang.Object | |
↳ | com.pdftron.pdf.Annot.BorderStyle |
BorderStyle structure specifies the characteristics of the annotation's border. The border is specified as a rounded rectangle.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | e_beveled | The Constant e_beveled. | |||||||||
int | e_dashed | The Constant e_dashed. | |||||||||
int | e_inset | The Constant e_inset. | |||||||||
int | e_solid | The border style options. | |||||||||
int | e_underline | The Constant e_underline. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BorderStyle(int s, int b_width, int b_hr, int b_vr)
Creates a new border style with given parameters.
| |||||||||||
BorderStyle(int s, int b_width, int b_hr, int b_vr, double[] b_dash)
Creates a new border style with given parameters.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
| ||||||||||
double[] |
getDash()
Get the dash.
| ||||||||||
int |
getHR()
Get the hR.
| ||||||||||
int |
getStyle()
Get the style.
| ||||||||||
int |
getVR()
Get the vR.
| ||||||||||
double |
getWidth()
Get the width.
| ||||||||||
void |
setDash(double[] dash)
Set the border dash pattern.
| ||||||||||
void |
setHR(int hr)
Set horizontal corner radius.
| ||||||||||
void |
setStyle(int style)
Set the border style.
| ||||||||||
void |
setVR(int vr)
Set vertical corner radius.
| ||||||||||
void |
setWidth(double width)
Set the border width.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
The Constant e_beveled.
The Constant e_dashed.
The Constant e_inset.
The border style options.
The Constant e_underline.
Creates a new border style with given parameters.
Note: If the corner radii are 0, the border has square (not rounded) corners; if the border width is 0, no border is drawn.
s | The border style. |
---|---|
b_width | The border width expressed in the default user space. |
b_hr | The horizontal corner radius expressed in the default user space. |
b_vr | The vertical corner radius expressed in the default user space. in drawing the border. The dash array is specified in the same format as in the line dash pattern parameter of the graphics state except that the phase is assumed to be 0. |
PDFNetException |
---|
Creates a new border style with given parameters.
Note: If the corner radii are 0, the border has square (not rounded) corners; if the border width is 0, no border is drawn.
s | The border style. |
---|---|
b_width | The border width expressed in the default user space. |
b_hr | The horizontal corner radius expressed in the default user space. |
b_vr | The vertical corner radius expressed in the default user space. |
b_dash | An array of numbers defining a pattern of dashes and gaps to be used in drawing the border. The dash array is specified in the same format as in the line dash pattern parameter of the graphics state except that the phase is assumed to be 0. |
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|