Class FTC_Scaler.Buffer

All Implemented Interfaces:
Iterable<FTC_Scaler>, Pointer
Enclosing class:
FTC_Scaler

public static class FTC_Scaler.Buffer extends StructBuffer<FTC_Scaler,FTC_Scaler.Buffer>
An array of FTC_Scaler structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FTC_Scaler.Buffer instance 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 FTC_Scaler.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

    • face_id

      public long face_id()
      Returns:
      the value of the face_id field.
    • width

      public int width()
      Returns:
      the value of the width field.
    • height

      public int height()
      Returns:
      the value of the height field.
    • pixel

      public int pixel()
      Returns:
      the value of the pixel field.
    • x_res

      public int x_res()
      Returns:
      the value of the x_res field.
    • y_res

      public int y_res()
      Returns:
      the value of the y_res field.