Class CreateLinearGradient

    • Method Detail

      • getOpCode

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

        public static CreateLinearGradient readCreateLinearGradient​(X11Input in)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(byte offset,
                          X11Output out)
                   throws java.io.IOException
        Specified by:
        write in interface XRequest
        Throws:
        java.io.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:
      • getPicture

        public int getPicture()
      • getP1

        @NonNull
        public @NonNull Pointfix getP1()
      • getP2

        @NonNull
        public @NonNull Pointfix getP2()
      • getStops

        @NonNull
        public @NonNull java.util.List<java.lang.Integer> getStops()
      • getColors

        @NonNull
        public @NonNull java.util.List<Color> getColors()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object