SplineControlAnimation QML Type

스플라인 제어점의 애니메이션을 나타내는 애니메이션 유형입니다. 더 보기...

Import Statement: import QtGraphs
Inherits:

XYSeriesAnimation

속성

상세 설명

SplineControlAnimation은 QVariantAnimation 에서 파생된 애니메이션 유형으로, 스플라인 컨트롤 포인트의 애니메이션 방식을 정의합니다. durationeasing 와 같은 애니메이션에 QVariantAnimation 기능과 프로퍼티를 사용할 수 있습니다. 이러한 애니메이션은 QParallelAnimationGroup 안에 들어 있으므로 병렬로 실행됩니다. 이 애니메이션은 SplineSeries 의 메인 포인트에는 영향을 주지 않고 포인트의 양쪽에 있는 두 개의 컨트롤 핸들에만 영향을 줍니다. 각 컨트롤 포인트는 연속적으로 선형 보간됩니다.

이 예는 SplineControlPointAnimation과 GraphPointAnimation 를 모두 사용하여 SplineSeries 의 주 점 시리즈와 제어점 모두에 대한 애니메이션을 정의하는 방법을 보여줍니다:

import QtGraphs

GraphsView {
    SplineSeries {
        GraphTransition {
            GraphPointAnimation { duration: 1000; easingCurve.type: Easing.OutCubic  }
            SplineControlAnimation { duration: 1000; easingCurve.type: Easing.OutCubic }
        }
    }
}

GraphTransitionGraphPointAnimation도 참조하십시오 .

프로퍼티 문서

AnimationState : enumeration

애니메이션 상태입니다.

Constant설명
Playing애니메이션이 재생 중입니다.
Stopped애니메이션이 중지되었습니다.

GraphAnimationType : enumeration

애니메이션 유형입니다.

상수설명
GraphPointGraphPointAnimation 애니메이션.
ControlPoint컨트롤포인트 애니메이션 애니메이션.

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.