GraphPointAnimation QML Type
ポイントのアニメーションを表すアニメーションタイプです。詳細...
| Import Statement: | import QtGraphs |
| Inherits: |
- 継承されたメンバを含むすべてのメンバの一覧
- GraphPointAnimationは、Qt Graphs の2D用QMLタイプの一部です。
プロパティ
- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState
詳細な説明
GraphPointAnimationは、QVariantAnimation から派生したアニメーションタイプであり、点のアニメーション方法を定義します。このアニメーションでは、QVariantAnimation の機能やプロパティ(duration やeasing など)を利用できます。これらのアニメーションはQParallelAnimationGroup 内に格納されるため、並列して実行されます。
この例では、GraphPointAnimation を使用して、duration を 1000ms、easing を OutCubic に設定し、点をアニメーション化する方法について説明します。
import QtGraphs
GraphsView {
LineSeries {
GraphTransition {
GraphPointAnimation { duration: 1000; easingCurve.type: Easing.OutCubic }
}
}
}XYSeries については、これはシリーズ内で定義されたポイントのメインリストと見なされます。ポイントは開始値から終了値まで線形補間されます。
注:GraphPointAnimation は現在、点が追加または削除された際に、シリーズ内の最後の点のみをアニメーション化する機能をサポートしています。点が置き換えられた場合、シリーズ内での点のインデックスに関係なく、アニメーションがトリガーされます。
関連項目: GraphTransition およびSplineControlAnimation 。
プロパティのドキュメント
AnimationState : enumeration
アニメーションの状態。
| 定数 | 説明 |
|---|---|
Playing | アニメーションが再生中です。 |
Stopped | アニメーションが停止しています。 |
GraphAnimationType : enumeration
アニメーションの種類。
| 定数 | 説明 |
|---|---|
GraphPoint | GraphPointAnimation アニメーション。 |
ControlPoint | ControlPointAnimation アニメーション。 |
animating : GraphAnimation::AnimationState
アニメーションの状態を保持します。GraphAnimation::AnimationState のいずれかです。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.