PathMove QML Type
Mueve la posición de la ruta. Más...
| Import Statement: | import QtQuick |
Propiedades
Descripción detallada
El siguiente ejemplo crea un trazado formado por dos líneas horizontales con algún espacio vacío entre ellas. Los tres segmentos tienen una anchura de 100:
Path { startX: 0; startY: 100 PathLine { relativeX: 100; y: 100 } PathMove { relativeX: 100; y: 100 } PathLine { relativeX: 100; y: 100 } }
Nota: PathMove no debe utilizarse en una trayectoria asociada a PathView. Utilice PathLine en su lugar. Para ShapePath sin embargo es importante distinguir entre las operaciones de dibujar una línea recta y mover la posición de la trayectoria sin dibujar nada.
Véase también Path, PathQuad, PathCubic, PathArc, PathAngleArc, PathCurve, PathSvg, y PathLine.
Documentación de propiedades
Define la posición a la que hay que desplazarse respecto a su inicio.
Si se especifica una posición final relativa y absoluta para un mismo eje, se utilizará la posición relativa.
Las posiciones relativas y absolutas pueden mezclarse, por ejemplo es válido establecer una x relativa y una y absoluta.
Define la posición a la que hay que desplazarse.
© 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.