JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.math.geom.plane.WindingRule Enum Reference

Winding rule, either EVEN_ODD or NON_ZERO (like for TrueType fonts). More...

Collaboration diagram for com.jogamp.math.geom.plane.WindingRule:

Public Member Functions

 WindingRule (final int v)
 

Public Attributes

 EVEN_ODD =(0)
 The even-odd rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments an odd number of times. More...
 
 NON_ZERO =(1)
 The non-zero rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments a different number of times in the counter-clockwise direction than the clockwise direction. More...
 
final int value
 

Detailed Description

Winding rule, either EVEN_ODD or NON_ZERO (like for TrueType fonts).

Definition at line 6 of file WindingRule.java.

Constructor & Destructor Documentation

◆ WindingRule()

com.jogamp.math.geom.plane.WindingRule.WindingRule ( final int  v)

Definition at line 25 of file WindingRule.java.

Member Data Documentation

◆ EVEN_ODD

com.jogamp.math.geom.plane.WindingRule.EVEN_ODD =(0)

The even-odd rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments an odd number of times.

Definition at line 12 of file WindingRule.java.

◆ NON_ZERO

com.jogamp.math.geom.plane.WindingRule.NON_ZERO =(1)

The non-zero rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments a different number of times in the counter-clockwise direction than the clockwise direction.

Non-zero winding rule is used by TrueType fonts.

Definition at line 21 of file WindingRule.java.

◆ value

final int com.jogamp.math.geom.plane.WindingRule.value

Definition at line 23 of file WindingRule.java.


The documentation for this enum was generated from the following file: