115 |
115 |
116 /** |
116 /** |
117 * Joins path segments by extending their outside edges until |
117 * Joins path segments by extending their outside edges until |
118 * they meet. |
118 * they meet. |
119 */ |
119 */ |
120 @Native public final static int JOIN_MITER = 0; |
120 @Native public static final int JOIN_MITER = 0; |
121 |
121 |
122 /** |
122 /** |
123 * Joins path segments by rounding off the corner at a radius |
123 * Joins path segments by rounding off the corner at a radius |
124 * of half the line width. |
124 * of half the line width. |
125 */ |
125 */ |
126 @Native public final static int JOIN_ROUND = 1; |
126 @Native public static final int JOIN_ROUND = 1; |
127 |
127 |
128 /** |
128 /** |
129 * Joins path segments by connecting the outer corners of their |
129 * Joins path segments by connecting the outer corners of their |
130 * wide outlines with a straight segment. |
130 * wide outlines with a straight segment. |
131 */ |
131 */ |
132 @Native public final static int JOIN_BEVEL = 2; |
132 @Native public static final int JOIN_BEVEL = 2; |
133 |
133 |
134 /** |
134 /** |
135 * Ends unclosed subpaths and dash segments with no added |
135 * Ends unclosed subpaths and dash segments with no added |
136 * decoration. |
136 * decoration. |
137 */ |
137 */ |
138 @Native public final static int CAP_BUTT = 0; |
138 @Native public static final int CAP_BUTT = 0; |
139 |
139 |
140 /** |
140 /** |
141 * Ends unclosed subpaths and dash segments with a round |
141 * Ends unclosed subpaths and dash segments with a round |
142 * decoration that has a radius equal to half of the width |
142 * decoration that has a radius equal to half of the width |
143 * of the pen. |
143 * of the pen. |
144 */ |
144 */ |
145 @Native public final static int CAP_ROUND = 1; |
145 @Native public static final int CAP_ROUND = 1; |
146 |
146 |
147 /** |
147 /** |
148 * Ends unclosed subpaths and dash segments with a square |
148 * Ends unclosed subpaths and dash segments with a square |
149 * projection that extends beyond the end of the segment |
149 * projection that extends beyond the end of the segment |
150 * to a distance equal to half of the line width. |
150 * to a distance equal to half of the line width. |
151 */ |
151 */ |
152 @Native public final static int CAP_SQUARE = 2; |
152 @Native public static final int CAP_SQUARE = 2; |
153 |
153 |
154 float width; |
154 float width; |
155 |
155 |
156 int join; |
156 int join; |
157 int cap; |
157 int cap; |