Class TT_Header.Buffer
- Enclosing class:
TT_Header
An array of
TT_Header structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newTT_Header.Bufferinstance backed by the specified container. -
Method Summary
Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newTT_Header.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
TT_Header.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
Table_Version
- Returns:
- the value of the
Table_Versionfield.
-
Font_Revision
- Returns:
- the value of the
Font_Revisionfield.
-
CheckSum_Adjust
- Returns:
- the value of the
CheckSum_Adjustfield.
-
Magic_Number
- Returns:
- the value of the
Magic_Numberfield.
-
Flags
- Returns:
- the value of the
Flagsfield.
-
Units_Per_EM
- Returns:
- the value of the
Units_Per_EMfield.
-
Created
- Returns:
- a
CLongBufferview of theCreatedfield.
-
Created
- Returns:
- the value at the specified index of the
Createdfield.
-
Modified
- Returns:
- a
CLongBufferview of theModifiedfield.
-
Modified
- Returns:
- the value at the specified index of the
Modifiedfield.
-
xMin
- Returns:
- the value of the
xMinfield.
-
yMin
- Returns:
- the value of the
yMinfield.
-
xMax
- Returns:
- the value of the
xMaxfield.
-
yMax
- Returns:
- the value of the
yMaxfield.
-
Mac_Style
- Returns:
- the value of the
Mac_Stylefield.
-
Lowest_Rec_PPEM
- Returns:
- the value of the
Lowest_Rec_PPEMfield.
-
Font_Direction
- Returns:
- the value of the
Font_Directionfield.
-
Index_To_Loc_Format
- Returns:
- the value of the
Index_To_Loc_Formatfield.
-
Glyph_Data_Format
- Returns:
- the value of the
Glyph_Data_Formatfield.
-