Top Description Fields Constructors Methods
javafx.scene.shape

public final Enum FillRule

extends Enum<FillRule>
Class Inheritance

The fill rule for determining the interior of the path.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final FillRule
EVEN_ODD

Defines an even-odd filling rule for determining the interior of a path.

public static final FillRule
NON_ZERO

Defines a non-zero filling rule for determining the interior of a path.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static FillRule
public static FillRule[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EVEN_ODDback to summary
public static final FillRule EVEN_ODD

Defines an even-odd filling rule for determining the interior of a path. 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.

A visual illustration
of how EVEN_ODD works

NON_ZEROback to summary
public static final FillRule NON_ZERO

Defines a non-zero filling rule for determining the interior of a path. 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.

A visual illustration
of how NON_ZERO works

Constructor Detail

FillRuleback to summary
private FillRule()

Method Detail

valueOfback to summary
public static FillRule valueOf(String name)
valuesback to summary
public static FillRule[] values()