Package org.freedesktop.harfbuzz
Enum Class BufferSerializeFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<BufferSerializeFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum BufferSerializeFlags
extends Enum<BufferSerializeFlags>
implements Enumeration
Flags that control what glyph information are serialized in hb_buffer_serialize_glyphs().
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionserialize glyph names, clusters and positions.All currently defined flags.serialize glyph extents.serialize glyph flags.do not serialize glyph advances, glyph offsets will reflect absolute glyph positions.do not serialize glyph cluster.do no serialize glyph name.do not serialize glyph position information. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the BufferSerializeFlags classint
getValue()
Get the numeric value of this enumstatic BufferSerializeFlags
of
(int value) Create a new BufferSerializeFlags for the provided valuestatic BufferSerializeFlags
Returns the enum constant of this class with the specified name.static BufferSerializeFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
serialize glyph names, clusters and positions. -
NO_CLUSTERS
do not serialize glyph cluster. -
NO_POSITIONS
do not serialize glyph position information. -
NO_GLYPH_NAMES
do no serialize glyph name. -
GLYPH_EXTENTS
serialize glyph extents. -
GLYPH_FLAGS
serialize glyph flags. Since: 1.5.0 -
NO_ADVANCES
do not serialize glyph advances, glyph offsets will reflect absolute glyph positions. Since: 1.8.0 -
DEFINED
All currently defined flags. Since: 4.4.0
-
-
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
-
of
Create a new BufferSerializeFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-