java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.quick.QSGGeometry.ColoredPoint2D
- 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's class QSGGeometry::ColoredPoint2D
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal byte
a()
final byte
b()
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final byte
g()
int
hashCode()
final byte
r()
final void
set
(float nx, float ny, byte nr, byte ng, byte nb, byte na) final void
setA
(byte a) final void
setB
(byte b) final void
setG
(byte g) final void
setR
(byte r) final void
setX
(float x) final void
setY
(float y) final float
x()
final float
y()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
ColoredPoint2D
public ColoredPoint2D() -
ColoredPoint2D
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setA
-
a
-
setB
-
b
-
setG
-
g
-
setR
-
r
-
setX
-
x
-
setY
-
y
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-