JOGL
v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
WindingRule.java
Go to the documentation of this file.
1
package
com.jogamp.math.geom.plane;
2
3
/**
4
* Winding rule, either EVEN_ODD or NON_ZERO (like for TrueType fonts).
5
*/
6
public
enum
WindingRule
{
7
/**
8
* The even-odd rule specifies that a point lies inside the path
9
* if a ray drawn in any direction from that point to infinity is crossed by path segments
10
* an odd number of times.
11
*/
12
EVEN_ODD
(0),
13
14
/**
15
* The non-zero rule specifies that a point lies inside the path
16
* if a ray drawn in any direction from that point to infinity is crossed by path segments
17
* a different number of times in the counter-clockwise direction than the clockwise direction.
18
*
19
* Non-zero winding rule is used by TrueType fonts.
20
*/
21
NON_ZERO
(1);
22
23
public
final
int
value
;
24
25
WindingRule
(
final
int
v) {
26
this.value = v;
27
}
28
}
com.jogamp.math.geom.plane.WindingRule
Winding rule, either EVEN_ODD or NON_ZERO (like for TrueType fonts).
Definition:
WindingRule.java:6
com.jogamp.math.geom.plane.WindingRule.EVEN_ODD
EVEN_ODD
The even-odd rule specifies that a point lies inside the path if a ray drawn in any direction from th...
Definition:
WindingRule.java:12
com.jogamp.math.geom.plane.WindingRule.WindingRule
WindingRule(final int v)
Definition:
WindingRule.java:25
com.jogamp.math.geom.plane.WindingRule.value
final int value
Definition:
WindingRule.java:23
com.jogamp.math.geom.plane.WindingRule.NON_ZERO
NON_ZERO
The non-zero rule specifies that a point lies inside the path if a ray drawn in any direction from th...
Definition:
WindingRule.java:21
src
jogl
classes
com
jogamp
math
geom
plane
WindingRule.java
Generated by
1.9.4