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

  • Nested Class Summary

    Nested classes/interfaces inherited from class io.qt.QtObject

    QtObject.QPrivateConstructor
  • Constructor Summary

    Constructors
    Constructor
    Description
    See QSGGeometry::ColoredPoint2D::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.
    boolean
    equals(Object other)
    See operator==(QSGGeometry::ColoredPoint2D,QSGGeometry::ColoredPoint2D)
    final byte
    g()
    See QSGGeometry::ColoredPoint2D::g
    final byte
    Kotlin property getter.
    final byte
    Kotlin property getter.
    final byte
    Kotlin property getter.
    final byte
    Kotlin property getter.
    final float
    Kotlin property getter.
    final float
    Kotlin property getter.
    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()

  • Method Details

    • set

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

      @QtUninvokable public final void setA(byte a)

      See QSGGeometry::ColoredPoint2D::a

    • getA

      @QtUninvokable public final byte getA()

      Kotlin property getter. In Java use a() instead.

    • a

      @QtUninvokable public final byte a()

      See QSGGeometry::ColoredPoint2D::a

    • setB

      @QtUninvokable public final void setB(byte b)

      See QSGGeometry::ColoredPoint2D::b

    • getB

      @QtUninvokable public final byte getB()

      Kotlin property getter. In Java use b() instead.

    • b

      @QtUninvokable public final byte b()

      See QSGGeometry::ColoredPoint2D::b

    • setG

      @QtUninvokable public final void setG(byte g)

      See QSGGeometry::ColoredPoint2D::g

    • getG

      @QtUninvokable public final byte getG()

      Kotlin property getter. In Java use g() instead.

    • g

      @QtUninvokable public final byte g()

      See QSGGeometry::ColoredPoint2D::g

    • setR

      @QtUninvokable public final void setR(byte r)

      See QSGGeometry::ColoredPoint2D::r

    • getR

      @QtUninvokable public final byte getR()

      Kotlin property getter. In Java use r() instead.

    • r

      @QtUninvokable public final byte r()

      See QSGGeometry::ColoredPoint2D::r

    • setX

      @QtUninvokable public final void setX(float x)

      See QSGGeometry::ColoredPoint2D::x

    • getX

      @QtUninvokable public final float getX()

      Kotlin property getter. In Java use x() instead.

    • x

      @QtUninvokable public final float x()

      See QSGGeometry::ColoredPoint2D::x

    • setY

      @QtUninvokable public final void setY(float y)

      See QSGGeometry::ColoredPoint2D::y

    • getY

      @QtUninvokable public final float getY()

      Kotlin property getter. In Java use y() instead.

    • y

      @QtUninvokable public final float y()

      See QSGGeometry::ColoredPoint2D::y

    • 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.

      Overrides:
      clone in class Object