- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QSGGeometry
QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color
Java wrapper for Qt class QSGGeometry::ColoredPoint2D
-
Constructor Summary
ConstructorDescriptionSeeQSGGeometry::ColoredPoint2D::
ColoredPoint2D() ColoredPoint2D
(float x, float y, byte r, byte g, byte b, byte a) SeeQSGGeometry::ColoredPoint2D::
ColoredPoint2D{float, float, unsigned char, unsigned char, unsigned char, unsigned char} SeeQSGGeometry::ColoredPoint2D::
ColoredPoint2D(QSGGeometry::ColoredPoint2D) -
Method Summary
Modifier and TypeMethodDescriptionfinal byte
a()
SeeQSGGeometry::ColoredPoint2D::
a final byte
b()
SeeQSGGeometry::ColoredPoint2D::
b clone()
Creates and returns a copy of this object.final boolean
equals
(QSGGeometry.ColoredPoint2D value2) Seeoperator==(QSGGeometry::ColoredPoint2D,
QSGGeometry::ColoredPoint2D) boolean
Seeoperator==(QSGGeometry::ColoredPoint2D,
QSGGeometry::ColoredPoint2D) final byte
g()
SeeQSGGeometry::ColoredPoint2D::
g int
hashCode()
Returns the objects's hash code computed byqHash(QSGGeometry::ColoredPoint2D)
.final byte
r()
SeeQSGGeometry::ColoredPoint2D::
r final void
set
(float nx, float ny, byte nr, byte ng, byte nb, byte na) final void
setA
(byte a) SeeQSGGeometry::ColoredPoint2D::
a final void
setB
(byte b) SeeQSGGeometry::ColoredPoint2D::
b final void
setG
(byte g) SeeQSGGeometry::ColoredPoint2D::
g final void
setR
(byte r) SeeQSGGeometry::ColoredPoint2D::
r final void
setX
(float x) SeeQSGGeometry::ColoredPoint2D::
x final void
setY
(float y) SeeQSGGeometry::ColoredPoint2D::
y final float
x()
SeeQSGGeometry::ColoredPoint2D::
x final float
y()
SeeQSGGeometry::ColoredPoint2D::
y Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
ColoredPoint2D
public ColoredPoint2D()See
QSGGeometry::ColoredPoint2D::
ColoredPoint2D() -
ColoredPoint2D
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
See
operator==(QSGGeometry::ColoredPoint2D,
QSGGeometry::ColoredPoint2D) - Parameters:
value2
-- Returns:
-
set
- Parameters:
nx
-ny
-nr
-ng
-nb
-na
-
-
setA
See
QSGGeometry::ColoredPoint2D::
a - Parameters:
a
-
-
a
See
QSGGeometry::ColoredPoint2D::
a - Returns:
-
setB
See
QSGGeometry::ColoredPoint2D::
b - Parameters:
b
-
-
b
See
QSGGeometry::ColoredPoint2D::
b - Returns:
-
setG
See
QSGGeometry::ColoredPoint2D::
g - Parameters:
g
-
-
g
See
QSGGeometry::ColoredPoint2D::
g - Returns:
-
setR
See
QSGGeometry::ColoredPoint2D::
r - Parameters:
r
-
-
r
See
QSGGeometry::ColoredPoint2D::
r - Returns:
-
setX
See
QSGGeometry::ColoredPoint2D::
x - Parameters:
x
-
-
x
See
QSGGeometry::ColoredPoint2D::
x - Returns:
-
setY
See
QSGGeometry::ColoredPoint2D::
y - Parameters:
y
-
-
y
See
QSGGeometry::ColoredPoint2D::
y - Returns:
-
equals
See
operator==(QSGGeometry::ColoredPoint2D,
QSGGeometry::ColoredPoint2D) -
hashCode
Returns the objects's hash code computed byqHash(QSGGeometry::ColoredPoint2D)
. -
clone
Creates and returns a copy of this object.
See
QSGGeometry::ColoredPoint2D::
ColoredPoint2D(QSGGeometry::ColoredPoint2D)
-