このページでは

SplineControlAnimation QML Type

スプラインの制御点に対するアニメーションを表すアニメーションタイプです。詳細...

Import Statement: import QtGraphs
Inherits:

XYSeriesAnimation

プロパティ

詳細な説明

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

アニメーションの種類。

定数説明
GraphPointGraphPointAnimation アニメーション。
ControlPointControlPointAnimation アニメーション。

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.