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
ConstructorsModifierConstructorDescriptionprotectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal bytea()final byteb()clone()booleanUsed 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 byteg()inthashCode()final byter()final voidset(float nx, float ny, byte nr, byte ng, byte nb, byte na) final voidsetA(byte a) final voidsetB(byte b) final voidsetG(byte g) final voidsetR(byte r) final voidsetX(float x) final voidsetY(float y) final floatx()final floaty()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:io.qt.QtObjectUsed 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
-