Package org.freedesktop.harfbuzz
Enum Class BufferDiffFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<BufferDiffFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum BufferDiffFlags
extends Enum<BufferDiffFlags>
implements Enumeration
Flags from comparing two
hb_buffer_t
's.
Buffer with different hb_buffer_content_type_t
cannot be meaningfully
compared in any further detail.
For buffers with differing length, the per-glyph comparison is not
attempted, though we do still scan reference buffer for dotted circle and
.notdef
glyphs.
If the buffers have the same length, we compare them glyph-by-glyph and report which aspect(s) of the glyph info/position are different.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiondifference inhb_glyph_info_t
.clusterdifference inhb_glyph_info_t
.codepointbuffers with differenthb_buffer_content_type_t
.dotted circle glyph is present in the reference buffer.equal buffers.difference inhb_glyph_flags_t
.buffers with differing length..notdef
glyph is present in the reference buffer.difference inhb_glyph_position_t
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the BufferDiffFlags classint
getValue()
Get the numeric value of this enumstatic BufferDiffFlags
of
(int value) Create a new BufferDiffFlags for the provided valuestatic BufferDiffFlags
Returns the enum constant of this class with the specified name.static BufferDiffFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL
equal buffers. -
CONTENT_TYPE_MISMATCH
buffers with differenthb_buffer_content_type_t
. -
LENGTH_MISMATCH
buffers with differing length. -
NOTDEF_PRESENT
.notdef
glyph is present in the reference buffer. -
DOTTED_CIRCLE_PRESENT
dotted circle glyph is present in the reference buffer. -
CODEPOINT_MISMATCH
difference inhb_glyph_info_t
.codepoint -
CLUSTER_MISMATCH
difference inhb_glyph_info_t
.cluster -
GLYPH_FLAGS_MISMATCH
difference inhb_glyph_flags_t
. -
POSITION_MISMATCH
difference inhb_glyph_position_t
.
-
-
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 BufferDiffFlags 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
-