GraphPointAnimation QML Type
点のアニメーションを表すアニメーションタイプ。詳細...
Import Statement: | import QtGraphs |
Inherits: |
- 継承されたメンバを含む、すべてのメンバの一覧
- GraphPointAnimation はQt Graphs QML Types for 2D に含まれます。
プロパティ
- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState
詳細説明
GraphPointAnimation は、QVariantAnimation から派生したアニメーションタイプで、点のアニメーション方法を定義します。duration
やeasing
のようなQVariantAnimation の機能やプロパティをアニメーションに利用することができます。これらのアニメーションは、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 のいずれか。
© 2025 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.