java.lang.Object
io.qt.QtObject
io.qt.core.QEasingCurve
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Easing curves for controlling animation
Java wrapper for Qt's class QEasingCurve
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt function pointer QEasingCurve::EasingFunctionstatic enum
Java wrapper for Qt enum QEasingCurve::TypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQEasingCurve(io.qt.core.QEasingCurve.Type)
withtype = io.qt.core.QEasingCurve.Type.Linear
.QEasingCurve
(QEasingCurve other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addCubicBezierSegment
(QPointF c1, QPointF c2, QPointF endPoint) final void
addTCBSegment
(QPointF nextPoint, double t, double c, double b) final double
final void
assign
(QEasingCurve other) 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.int
hashCode()
final double
final double
period()
void
readFrom
(QDataStream arg__1) final void
setAmplitude
(double amplitude) final void
final void
setOvershoot
(double overshoot) final void
setPeriod
(double period) final void
setType
(QEasingCurve.Type type) final void
swap
(QEasingCurve other) toString()
final QEasingCurve.Type
type()
final double
valueForProgress
(double progress) void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QEasingCurve
public QEasingCurve()Overloaded constructor for
QEasingCurve(io.qt.core.QEasingCurve.Type)
withtype = io.qt.core.QEasingCurve.Type.Linear
. -
QEasingCurve
-
QEasingCurve
-
QEasingCurve
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addCubicBezierSegment
-
addTCBSegment
-
amplitude
-
customType
-
writeTo
-
assign
-
readFrom
-
overshoot
-
period
-
setAmplitude
-
setCustomType
-
setOvershoot
-
setPeriod
-
setType
-
swap
-
toCubicSpline
-
type
-
valueForProgress
-
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
-
toString
-
clone
-