Package io.qt.quick

Class QSGGeometry.ColoredPoint2D

java.lang.Object
io.qt.QtObject
io.qt.quick.QSGGeometry.ColoredPoint2D
All Implemented Interfaces:
QtObjectInterface, Cloneable
Enclosing class:
QSGGeometry

public static class QSGGeometry.ColoredPoint2D extends QtObject implements Cloneable

QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color

Java wrapper for Qt class QSGGeometry::ColoredPoint2D

  • Constructor Summary

    Constructors
    Constructor
    Description
    See QSGGeometry::ColoredPoint2D::ColoredPoint2D()
    ColoredPoint2D(float x, float y, byte r, byte g, byte b, byte a)
    See QSGGeometry::ColoredPoint2D::ColoredPoint2D{float,float,unsigned char,unsigned char,unsigned char,unsigned char}
    See QSGGeometry::ColoredPoint2D::ColoredPoint2D(QSGGeometry::ColoredPoint2D)
  • Method Summary

    Modifier and Type
    Method
    Description
    final byte
    a()
    See QSGGeometry::ColoredPoint2D::a
    final byte
    b()
    See QSGGeometry::ColoredPoint2D::b
    Creates and returns a copy of this object.
    final boolean
    See operator==(QSGGeometry::ColoredPoint2D,QSGGeometry::ColoredPoint2D)
    boolean
    equals(Object other)
    See operator==(QSGGeometry::ColoredPoint2D,QSGGeometry::ColoredPoint2D)
    final byte
    g()
    See QSGGeometry::ColoredPoint2D::g
    int
    Returns the objects's hash code computed by qHash(QSGGeometry::ColoredPoint2D).
    final byte
    r()
    See QSGGeometry::ColoredPoint2D::r
    final void
    set(float nx, float ny, byte nr, byte ng, byte nb, byte na)
    final void
    setA(byte a)
    See QSGGeometry::ColoredPoint2D::a
    final void
    setB(byte b)
    See QSGGeometry::ColoredPoint2D::b
    final void
    setG(byte g)
    See QSGGeometry::ColoredPoint2D::g
    final void
    setR(byte r)
    See QSGGeometry::ColoredPoint2D::r
    final void
    setX(float x)
    See QSGGeometry::ColoredPoint2D::x
    final void
    setY(float y)
    See QSGGeometry::ColoredPoint2D::y
    final float
    x()
    See QSGGeometry::ColoredPoint2D::x
    final float
    y()
    See QSGGeometry::ColoredPoint2D::y

    Methods inherited from class io.qt.QtObject

    dispose, isDisposed

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ColoredPoint2D

      public ColoredPoint2D()

      See QSGGeometry::ColoredPoint2D::ColoredPoint2D()

    • ColoredPoint2D

      public ColoredPoint2D(QSGGeometry.ColoredPoint2D other)

      See QSGGeometry::ColoredPoint2D::ColoredPoint2D(QSGGeometry::ColoredPoint2D)

      Parameters:
      other -
    • ColoredPoint2D

      public ColoredPoint2D(float x, float y, byte r, byte g, byte b, byte a)

      See QSGGeometry::ColoredPoint2D::ColoredPoint2D{float,float,unsigned char,unsigned char,unsigned char,unsigned char}

      Parameters:
      x -
      y -
      r -
      g -
      b -
      a -
  • Method Details

    • equals

      @QtUninvokable public final boolean equals(QSGGeometry.ColoredPoint2D value2)

      See operator==(QSGGeometry::ColoredPoint2D,QSGGeometry::ColoredPoint2D)

      Parameters:
      value2 -
      Returns:
    • set

      @QtUninvokable public final void set(float nx, float ny, byte nr, byte ng, byte nb, byte na)
      Parameters:
      nx -
      ny -
      nr -
      ng -
      nb -
      na -
    • setA

      @QtUninvokable public final void setA(byte a)

      See QSGGeometry::ColoredPoint2D::a

      Parameters:
      a -
    • a

      @QtUninvokable public final byte a()

      See QSGGeometry::ColoredPoint2D::a

      Returns:
    • setB

      @QtUninvokable public final void setB(byte b)

      See QSGGeometry::ColoredPoint2D::b

      Parameters:
      b -
    • b

      @QtUninvokable public final byte b()

      See QSGGeometry::ColoredPoint2D::b

      Returns:
    • setG

      @QtUninvokable public final void setG(byte g)

      See QSGGeometry::ColoredPoint2D::g

      Parameters:
      g -
    • g

      @QtUninvokable public final byte g()

      See QSGGeometry::ColoredPoint2D::g

      Returns:
    • setR

      @QtUninvokable public final void setR(byte r)

      See QSGGeometry::ColoredPoint2D::r

      Parameters:
      r -
    • r

      @QtUninvokable public final byte r()

      See QSGGeometry::ColoredPoint2D::r

      Returns:
    • setX

      @QtUninvokable public final void setX(float x)

      See QSGGeometry::ColoredPoint2D::x

      Parameters:
      x -
    • x

      @QtUninvokable public final float x()

      See QSGGeometry::ColoredPoint2D::x

      Returns:
    • setY

      @QtUninvokable public final void setY(float y)

      See QSGGeometry::ColoredPoint2D::y

      Parameters:
      y -
    • y

      @QtUninvokable public final float y()

      See QSGGeometry::ColoredPoint2D::y

      Returns:
    • equals

      @QtUninvokable public boolean equals(Object other)

      See operator==(QSGGeometry::ColoredPoint2D,QSGGeometry::ColoredPoint2D)

      Overrides:
      equals in class QtObject
      Parameters:
      other - other object
      Returns:
      true if the native counterpart of the two objects are one and the same.
    • hashCode

      @QtUninvokable public int hashCode()
      Returns the objects's hash code computed by qHash(QSGGeometry::ColoredPoint2D).
      Overrides:
      hashCode in class Object
    • clone

      Creates and returns a copy of this object.

      See QSGGeometry::ColoredPoint2D::ColoredPoint2D(QSGGeometry::ColoredPoint2D)

      Overrides:
      clone in class Object