@@ -42,11 +42,59 @@ source product.
42
42
43
43
*/
44
44
namespace iText . Kernel . Pdf {
45
+ /// <summary>Specifying the characteristics of the annotation’s border.</summary>
46
+ /// <remarks>
47
+ /// Specifying the characteristics of the annotation’s border.
48
+ /// See ISO 32000-1 12.5.2, Table 164 - Entries common to all annotation dictionaries, Key - border.
49
+ /// <para />
50
+ /// Note (PDF 1.2): The dictionaries for some annotation types can include the BS (border style) entry.
51
+ /// That entry specifies a border style dictionary that has more settings than this class.
52
+ /// If an annotation has BS entry, then
53
+ /// <see cref="PdfAnnotationBorder"/>
54
+ /// is ignored.
55
+ /// </remarks>
45
56
public class PdfAnnotationBorder : PdfObjectWrapper < PdfArray > {
57
+ /// <summary>
58
+ /// Creates a
59
+ /// <see cref="PdfAnnotationBorder"/>
60
+ /// with three numbers defining the horizontal
61
+ /// corner radius, vertical corner radius, and border width, all in default user
62
+ /// space units.
63
+ /// </summary>
64
+ /// <remarks>
65
+ /// Creates a
66
+ /// <see cref="PdfAnnotationBorder"/>
67
+ /// with three numbers defining the horizontal
68
+ /// corner radius, vertical corner radius, and border width, all in default user
69
+ /// space units. If the corner radii are 0, the border has square (not rounded)
70
+ /// corners; if the border width is 0, no border is drawn.
71
+ /// </remarks>
72
+ /// <param name="hRadius">horizontal corner radius</param>
73
+ /// <param name="vRadius">vertical corner radius</param>
74
+ /// <param name="width">width of the border</param>
46
75
public PdfAnnotationBorder ( float hRadius , float vRadius , float width )
47
76
: this ( hRadius , vRadius , width , null ) {
48
77
}
49
78
79
+ /// <summary>
80
+ /// Creates a
81
+ /// <see cref="PdfAnnotationBorder"/>
82
+ /// with three numbers defining the horizontal
83
+ /// corner radius, vertical corner radius, and border width, all in default user
84
+ /// space units and a dash pattern for the border lines.
85
+ /// </summary>
86
+ /// <remarks>
87
+ /// Creates a
88
+ /// <see cref="PdfAnnotationBorder"/>
89
+ /// with three numbers defining the horizontal
90
+ /// corner radius, vertical corner radius, and border width, all in default user
91
+ /// space units and a dash pattern for the border lines. If the corner radii are 0,
92
+ /// the border has square (not rounded) corners; if the border width is 0, no border is drawn.
93
+ /// </remarks>
94
+ /// <param name="hRadius">horizontal corner radius</param>
95
+ /// <param name="vRadius">vertical corner radius</param>
96
+ /// <param name="width">width of the border</param>
97
+ /// <param name="dash">the dash pattern</param>
50
98
public PdfAnnotationBorder ( float hRadius , float vRadius , float width , PdfDashPattern dash )
51
99
: base ( new PdfArray ( new float [ ] { hRadius , vRadius , width } ) ) {
52
100
if ( dash != null ) {
0 commit comments