Class Directformat

java.lang.Object
com.github.moaxcp.x11client.protocol.render.Directformat
All Implemented Interfaces:
XObject, XStruct

public final class Directformat extends Object implements XStruct
  • Method Details

    • readDirectformat

      public static Directformat readDirectformat(X11Input in) throws IOException
      Throws:
      IOException
    • write

      public void write(X11Output out) throws IOException
      Specified by:
      write in interface XStruct
      Throws:
      IOException
    • getSize

      public int getSize()
      Description copied from interface: XObject
      length of object expressed in units of 4 bytes
      Specified by:
      getSize in interface XObject
      Returns:
    • builder

      public static Directformat.DirectformatBuilder builder()
    • getRedShift

      public short getRedShift()
    • getRedMask

      public short getRedMask()
    • getGreenShift

      public short getGreenShift()
    • getGreenMask

      public short getGreenMask()
    • getBlueShift

      public short getBlueShift()
    • getBlueMask

      public short getBlueMask()
    • getAlphaShift

      public short getAlphaShift()
    • getAlphaMask

      public short getAlphaMask()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPluginName

      default String getPluginName()
      Specified by:
      getPluginName in interface XObject