PathAngleArc QML Type
Define um arco com os raios e o centro especificados. Mais...
| Import Statement: | import QtQuick |
Propriedades
- centerX : real
- centerY : real
- moveToStart : bool
- radiusX : real
- radiusY : real
- startAngle : real
- sweepAngle : real
Descrição detalhada
PathAngleArc oferece uma maneira simples de especificar um arco. Enquanto PathArc foi projetado para funcionar como parte de um caminho maior (especificando início e fim), PathAngleArc foi projetado para tornar mais intuitivo um caminho em que o arco é o elemento principal (como um indicador de progresso circular).
Veja também Path, PathLine, PathQuad, PathCubic, PathCurve, PathSvg, PathArc e PathRectangle.
Documentação de propriedades
Define o centro do arco.
moveToStart : bool
Se este elemento deve ser desconectado do elemento Path anterior (ou dos valores startX/Y).
O valor padrão é true. Se definido como false, o ponto final do elemento anterior (ou startX/Y, caso PathAngleArc seja o primeiro elemento) será conectado ao ponto inicial do arco por meio de uma linha reta.
Define os raios da elipse da qual o arco faz parte.
startAngle : real
Define o ângulo inicial do arco.
O ângulo inicial é indicado no sentido horário, com zero grau na posição das 3 horas.
sweepAngle : real
Define o ângulo de varredura do arco.
O arco começará em ` startAngle ` e se estenderá por `sweepAngle` graus; um valor de 360 resultará em um círculo completo. Números positivos correspondem ao sentido horário e números negativos, ao sentido anti-horário.
© 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.