SplineControlAnimation QML Type
スプライン制御点のアニメーションを示すアニメーションタイプ。詳細...
Import Statement: | import QtGraphs |
Inherits: |
- 継承されたメンバを含む、すべてのメンバの一覧
- SplineControlAnimation はQt Graphs QML Types for 2D に含まれます。
プロパティ
- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState
詳細説明
SplineControlAnimation はQVariantAnimation から派生したアニメーションタイプで、スプラインの制御点のアニメーションを定義します。duration
やeasing
などのQVariantAnimation の機能やプロパティをアニメーションに利用することができます。これらのアニメーションはQParallelAnimationGroup 内に格納されるため、並行して実行されます。このアニメーションは、SplineSeries の主要点には影響を与えず、点の両側にある2つのコントロール・ハンドルのみに影響を与えます。各制御点は連続して直線的に補間される。
この例では、SplineControlPointAnimation とGraphPointAnimation の両方を使用して、主な一連の点とSplineSeries の制御点の両方にアニメーションを定義する方法を示しています:
import QtGraphs GraphsView { SplineSeries { GraphTransition { GraphPointAnimation { duration: 1000; easingCurve.type: Easing.OutCubic } SplineControlAnimation { duration: 1000; easingCurve.type: Easing.OutCubic } } } }
GraphTransition およびGraphPointAnimationも参照してください 。
プロパティのドキュメント
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.