SplineControlAnimation QML Type
스플라인 제어점에 대한 애니메이션을 나타내는 애니메이션 유형입니다. 더 보기...
| Import Statement: | import QtGraphs |
| Inherits: |
- 상속된 멤버를 포함한 모든 멤버 목록
- SplineControlAnimation은 2D용Qt Graphs QML 유형의 일부입니다.
속성
- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState
상세 설명
SplineControlAnimation은 스플라인 제어점의 애니메이션 방식을 정의하는, QVariantAnimation 에서 파생된 애니메이션 유형입니다. 이 유형은 애니메이션에 QVariantAnimation 의 기능과 속성(예: duration 및 easing)을 활용할 수 있습니다. 이러한 애니메이션은 QParallelAnimationGroup 내에 포함되어 있으므로 병렬로 실행됩니다. 이 애니메이션은 SplineSeries 의 주요 점에는 영향을 미치지 않으며, 해당 점의 양쪽에 위치한 두 개의 제어 핸들에만 영향을 미칩니다. 각 제어점은 차례로 선형 보간됩니다.
이 예제는 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` 중 하나입니다.
© 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.