このページでは

SplineControlAnimation QML Type

スプライン制御点のアニメーションを示すアニメーションタイプ。詳細...

Import Statement: import QtGraphs
Inherits:

XYSeriesAnimation

プロパティ

詳細説明

SplineControlAnimation はQVariantAnimation から派生したアニメーションタイプで、スプラインの制御点のアニメーションを定義します。durationeasing などの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.