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,uchar,uchar,uchar,uchar}
    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)

    • ColoredPoint2D

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

      See QSGGeometry::ColoredPoint2D::ColoredPoint2D{float,float,uchar,uchar,uchar,uchar}

  • Method Details