Class CreatePicture

java.lang.Object
com.github.moaxcp.x11client.protocol.render.CreatePicture
All Implemented Interfaces:
OneWayRequest, XObject, XRequest

public final class CreatePicture extends Object implements OneWayRequest
  • Field Details

  • Method Details

    • getOpCode

      public byte getOpCode()
      Specified by:
      getOpCode in interface XRequest
    • readCreatePicture

      public static CreatePicture readCreatePicture(X11Input in) throws IOException
      Throws:
      IOException
    • write

      public void write(byte offset, X11Output out) throws IOException
      Specified by:
      write in interface XRequest
      Throws:
      IOException
    • isValueMaskEnabled

      public boolean isValueMaskEnabled(@NonNull @NonNull Cp... maskEnums)
    • 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 CreatePicture.CreatePictureBuilder builder()
    • getPid

      public int getPid()
    • getDrawable

      public int getDrawable()
    • getFormat

      public int getFormat()
    • getValueMask

      public int getValueMask()
    • getRepeat

      public int getRepeat()
    • getAlphamap

      public int getAlphamap()
    • getAlphaxorigin

      public int getAlphaxorigin()
    • getAlphayorigin

      public int getAlphayorigin()
    • getClipxorigin

      public int getClipxorigin()
    • getClipyorigin

      public int getClipyorigin()
    • getClipmask

      public int getClipmask()
    • getGraphicsexposure

      public int getGraphicsexposure()
    • getSubwindowmode

      public int getSubwindowmode()
    • getPolyedge

      public int getPolyedge()
    • getPolymode

      public int getPolymode()
    • getDither

      public int getDither()
    • getComponentalpha

      public int getComponentalpha()
    • 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