CoordinateAnimation QML Type

PropertyAnimation ジオ座標プロパティ。詳細...

Import Statement: import QtPositioning
Inherits:

PropertyAnimation

プロパティ

詳細説明

2つのcoordinates の間のアニメーションを定義する特殊なPropertyAnimation

デフォルトでは、coordinatelatitude は、それらの座標間の最短距離(測地線)の方向にアニメーションします。CoordinateAnimation はメルカトル図法を用いているので、latitude のアニメーションは常に -90 度から 90 度の間で行われます。longitude のア ニ メ ーシ ョ ン経路は制限 さ れてお ら ず、 西方向 も 東方向 も 180 度超え る こ と がで き ます。

direction プロパティを設定すると、longitude アニメーションが発生する方向を指定できます。

Qt Quick のアニメーションとトランジションも参照してください

プロパティの説明

direction : enumeration

このプロパティは、coordinatelongitude アニメーションの方向を保持する。

指定可能な値は以下の通りです:

  • CoordinateAnimation.Shortest (デフォルト) - 経度アニメーションは、最短のアニメーションパスを生成する方向に進みます。
  • CoordinateAnimation.West - 経度アニメーションは常に西の方向に進み、日付変更線を越えることがあります。
  • CoordinateAnimation.East - 経度アニメーションは常に東の方向に進み、日付変更線を横切る可能性があります。

from : coordinate

このプロパティは、アニメーションを開始する座標を保持します。


to : coordinate

このプロパティは、アニメーションを終了する座標を保持します。


© 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.