- All Implemented Interfaces:
Flag
,Serializable
,Comparable<PDFOutlineFlags>
,Constable
PDFOutlineFlags
is used by the cairo_pdf_surface_add_outline()
function specify the attributes of an outline item. These flags may be
bitwise-or'd to produce any combination of flags.- Since:
- 1.16
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Return the value of this enumstatic PDFOutlineFlags
of
(int ordinal) Returns the enum constant for the given ordinal (its position in the enum declaration).static PDFOutlineFlags
Returns the enum constant of this class with the specified name.static PDFOutlineFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN
The outline item defaults to open in the PDF viewer- Since:
- 1.16
-
BOLD
The outline item is displayed by the viewer in bold text- Since:
- 1.16
-
ITALIC
The outline item is displayed by the viewer in italic text- Since:
- 1.16
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-
of
Returns the enum constant for the given ordinal (its position in the enum declaration).- Parameters:
ordinal
- the position in the enum declaration, starting from zero- Returns:
- the enum constant for the given ordinal
-