public enum EffectPainter2D extends java.lang.Enum<EffectPainter2D> implements RegionPainter2D<java.awt.Font>
Enum Constant and Description |
---|
BOLD_DOTTED_UNDERSCORE |
BOLD_LINE_UNDERSCORE |
LINE_UNDERSCORE |
STRIKE_THROUGH |
WAVE_UNDERSCORE |
Modifier and Type | Method and Description |
---|---|
static double |
maybeScaleFontMetricsThickness_TestOnly(double fontMetricsThickness,
java.awt.Font font) |
static EffectPainter2D |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EffectPainter2D[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
paint
public static final EffectPainter2D LINE_UNDERSCORE
EffectType.LINE_UNDERSCORE
public static final EffectPainter2D BOLD_LINE_UNDERSCORE
EffectType.BOLD_LINE_UNDERSCORE
public static final EffectPainter2D BOLD_DOTTED_UNDERSCORE
EffectType.BOLD_DOTTED_LINE
public static final EffectPainter2D WAVE_UNDERSCORE
EffectType.WAVE_UNDERSCORE
public static final EffectPainter2D STRIKE_THROUGH
EffectType.STRIKEOUT
public static EffectPainter2D[] values()
for (EffectPainter2D c : EffectPainter2D.values()) System.out.println(c);
public static EffectPainter2D valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static double maybeScaleFontMetricsThickness_TestOnly(double fontMetricsThickness, java.awt.Font font)