Enum HersheyFontsEnum
- java.lang.Object
-
- java.lang.Enum<HersheyFontsEnum>
-
- edu.wpi.grip.generated.opencv_core.enumeration.HersheyFontsEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HersheyFontsEnum>
public enum HersheyFontsEnum extends java.lang.Enum<HersheyFontsEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FONT_HERSHEY_COMPLEX
normal size serif fontFONT_HERSHEY_COMPLEX_SMALL
smaller version of FONT_HERSHEY_COMPLEXFONT_HERSHEY_DUPLEX
normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)FONT_HERSHEY_PLAIN
small size sans-serif fontFONT_HERSHEY_SCRIPT_COMPLEX
more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEXFONT_HERSHEY_SCRIPT_SIMPLEX
hand-writing style fontFONT_HERSHEY_SIMPLEX
normal size sans-serif fontFONT_HERSHEY_TRIPLEX
normal size serif font (more complex than FONT_HERSHEY_COMPLEX)FONT_ITALIC
flag for italic font
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HersheyFontsEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HersheyFontsEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FONT_HERSHEY_SIMPLEX
public static final HersheyFontsEnum FONT_HERSHEY_SIMPLEX
normal size sans-serif font
-
FONT_HERSHEY_PLAIN
public static final HersheyFontsEnum FONT_HERSHEY_PLAIN
small size sans-serif font
-
FONT_HERSHEY_DUPLEX
public static final HersheyFontsEnum FONT_HERSHEY_DUPLEX
normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)
-
FONT_HERSHEY_COMPLEX
public static final HersheyFontsEnum FONT_HERSHEY_COMPLEX
normal size serif font
-
FONT_HERSHEY_TRIPLEX
public static final HersheyFontsEnum FONT_HERSHEY_TRIPLEX
normal size serif font (more complex than FONT_HERSHEY_COMPLEX)
-
FONT_HERSHEY_COMPLEX_SMALL
public static final HersheyFontsEnum FONT_HERSHEY_COMPLEX_SMALL
smaller version of FONT_HERSHEY_COMPLEX
-
FONT_HERSHEY_SCRIPT_SIMPLEX
public static final HersheyFontsEnum FONT_HERSHEY_SCRIPT_SIMPLEX
hand-writing style font
-
FONT_HERSHEY_SCRIPT_COMPLEX
public static final HersheyFontsEnum FONT_HERSHEY_SCRIPT_COMPLEX
more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX
-
FONT_ITALIC
public static final HersheyFontsEnum FONT_ITALIC
flag for italic font
-
-
Method Detail
-
values
public static HersheyFontsEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HersheyFontsEnum c : HersheyFontsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HersheyFontsEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-