PathQuad QML Type

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

Import Statement: import QtQuick

プロパティ

詳しい説明

以下のQMLは以下のパスを生成する:

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

Path,PathCubic,PathLine,PathArc,PathAngleArc,PathCurve,PathSvgも参照

プロパティ文書

x : real

y : real

曲線の終点を定義する。

relativeX およびrelativeYも参照


relativeX : real

relativeY : real

曲線の始点からの相対的な終点を定義する。

1つの軸に相対位置と絶対位置の両方が指定されている場合は、相対位置が使用される。

相対位置と絶対位置は混在することができ、例えば、相対xと絶対yを設定することは有効である。

x およびyも参照


controlX : real

controlY : real

コントロールポイントの位置を定義する。


relativeControlX : real

relativeControlY : real

曲線の始点からの相対的な制御点の位置を定義する。

1つの軸に相対制御位置と絶対制御位置の両方が指定されている場合は、相対位置が使用される。

相対位置と絶対位置は混在することができ、例えば、相対制御xと絶対制御yを設定することは有効である。

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


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