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

A Path2D segment type. More...

Collaboration diagram for com.jogamp.math.geom.plane.Path2F.SegmentType:

Public Member Functions

byte integer ()
 Return the integer segment type value as a byte. More...
 
 SegmentType (final int v)
 

Static Public Member Functions

static SegmentType valueOf (final int type)
 Return the SegmentType associated with the integer segment type. More...
 
static int getPointCount (final int type)
 Return the number of points associated with the integer segment type. More...
 

Public Attributes

 MOVETO =(1)
 
 LINETO =(1)
 
 QUADTO =(2)
 
 CUBICTO =(3)
 
 CLOSE =(0)
 
final int point_count
 Number of points associated with this segment type. More...
 

Detailed Description

A Path2D segment type.

Definition at line 36 of file Path2F.java.

Constructor & Destructor Documentation

◆ SegmentType()

com.jogamp.math.geom.plane.Path2F.SegmentType.SegmentType ( final int  v)

Definition at line 77 of file Path2F.java.

Member Function Documentation

◆ getPointCount()

static int com.jogamp.math.geom.plane.Path2F.SegmentType.getPointCount ( final int  type)
static

Return the number of points associated with the integer segment type.

Definition at line 65 of file Path2F.java.

◆ integer()

byte com.jogamp.math.geom.plane.Path2F.SegmentType.integer ( )

Return the integer segment type value as a byte.

Definition at line 47 of file Path2F.java.

◆ valueOf()

static SegmentType com.jogamp.math.geom.plane.Path2F.SegmentType.valueOf ( final int  type)
static

Return the SegmentType associated with the integer segment type.

Definition at line 52 of file Path2F.java.

Here is the caller graph for this function:

Member Data Documentation

◆ CLOSE

com.jogamp.math.geom.plane.Path2F.SegmentType.CLOSE =(0)

Definition at line 41 of file Path2F.java.

◆ CUBICTO

com.jogamp.math.geom.plane.Path2F.SegmentType.CUBICTO =(3)

Definition at line 40 of file Path2F.java.

◆ LINETO

com.jogamp.math.geom.plane.Path2F.SegmentType.LINETO =(1)

Definition at line 38 of file Path2F.java.

◆ MOVETO

com.jogamp.math.geom.plane.Path2F.SegmentType.MOVETO =(1)

Definition at line 37 of file Path2F.java.

◆ point_count

final int com.jogamp.math.geom.plane.Path2F.SegmentType.point_count

Number of points associated with this segment type.

Definition at line 44 of file Path2F.java.

◆ QUADTO

com.jogamp.math.geom.plane.Path2F.SegmentType.QUADTO =(2)

Definition at line 39 of file Path2F.java.


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