@@ -48,6 +48,10 @@ This file is part of the iText (R) project.
48
48
*/
49
49
public class PdfCanvasConstants {
50
50
51
+ private PdfCanvasConstants () {
52
+ // This private constructor will prevent the instantiation of this class
53
+ }
54
+
51
55
/**
52
56
* The text rendering mode determines whether showing text causes glyph
53
57
* outlines to be stroked, filled, used as a clipping boundary, or some
@@ -91,6 +95,9 @@ private TextRenderingMode() {}
91
95
* 8.4.3.3 "Line Cap Style".
92
96
*/
93
97
public static class LineCapStyle {
98
+ private LineCapStyle (){
99
+ // This private constructor will prevent the instantiation of this class
100
+ }
94
101
/**
95
102
* The stroke is squared of at the endpoint of the path. There is no
96
103
* projection beyond the end of the path.
@@ -118,6 +125,9 @@ public static class LineCapStyle {
118
125
* 8.4.3.4 "Line Join Style".
119
126
*/
120
127
public static class LineJoinStyle {
128
+ private LineJoinStyle (){
129
+ // This private constructor will prevent the instantiation of this class
130
+ }
121
131
/**
122
132
* The outer edges of the strokes for the two segments are extended
123
133
* until they meet at an angle, as in a picture frame. If the segments
@@ -140,6 +150,9 @@ public static class LineJoinStyle {
140
150
}
141
151
142
152
public static class FillingRule {
153
+ private FillingRule () {
154
+ // This private constructor will prevent the instantiation of this class
155
+ }
143
156
144
157
public static final int NONZERO_WINDING = 1 ;
145
158
0 commit comments