このページでは

PathQuad QML Type

制御点を1つ持つ2次ベジェ曲線を定義します。詳細...

Import Statement: import QtQuick

プロパティ

詳細な説明

以下のQMLは、下に示すパスを生成します:

放物線を形成する2次ベジェ曲線

Path {
    startX: 0; startY: 0
    PathQuad { x: 200; y: 0; controlX: 100; controlY: 150 }
}

関連項目: Path 、PathCubic 、PathLine 、PathArc 、PathAngleArc 、PathCurve 、およびPathSvg 。

プロパティのドキュメント

controlX : real

controlY : real

制御点の座標を定義します。

relativeControlX : real

relativeControlY : real

曲線の始点に対する制御点の位置を定義します。

1つの軸に対して相対位置と絶対位置の両方が指定された場合、相対位置が使用されます。

相対位置と絶対位置を混在させることも可能です。たとえば、x 軸を相対位置、y 軸を絶対位置に設定することは有効です。

controlX およびcontrolYも参照してください 。

relativeX : real

relativeY : real

曲線の始点に対する終点を定義します。

1つの軸に対して相対位置と絶対位置の両方が指定された場合、相対位置が使用されます。

相対位置と絶対位置を混在させることも可能です。たとえば、x 軸を相対位置、y 軸を絶対位置に設定することは有効です。

x およびyも参照してください 。

x : real

y : real

曲線の終点を指定します。

relativeX およびrelativeYも参照してください 。

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