java.lang.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()
final byte
getA()
Kotlin property getter.final byte
getB()
Kotlin property getter.final byte
getG()
Kotlin property getter.final byte
getR()
Kotlin property getter.final float
getX()
Kotlin property getter.final float
getY()
Kotlin property getter.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
-
getA
Kotlin property getter. In Java use
a()
instead. -
a
-
setB
-
getB
Kotlin property getter. In Java use
b()
instead. -
b
-
setG
-
getG
Kotlin property getter. In Java use
g()
instead. -
g
-
setR
-
getR
Kotlin property getter. In Java use
r()
instead. -
r
-
setX
-
getX
Kotlin property getter. In Java use
x()
instead. -
x
-
setY
-
getY
Kotlin property getter. In Java use
y()
instead. -
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
-