PathAngleArc QML Type
以给定的半径和圆心定义弧。更多
Import Statement: | import QtQuick |
属性
- centerX : real
- centerY : real
- moveToStart : bool
- radiusX : real
- radiusY : real
- startAngle : real
- sweepAngle : real
详细说明
PathAngleArc 提供了一种指定圆弧的简单方法。PathArc 设计用于作为更大路径的一部分(指定起点和终点),而 PathAngleArc 则设计用于使以弧为主的路径(如圆形进度指示器)更直观。
另请参阅 Path,PathLine,PathQuad,PathCubic,PathCurve,PathSvg,PathArc 和PathRectangle 。
属性文档
moveToStart : bool |
此元素是否应与前一个路径元素(或 startX/Y)断开连接。
默认值为 "true"。如果设置为 false,则前一个元素的端点(如果PathAngleArc 是第一个元素,则为 startX/Y)将与圆弧的起点直线相连。
startAngle : real |
定义圆弧的起始角度。
起始角按顺时针方向报告,3 点钟位置为零度。
sweepAngle : real |
定义弧线的扫描角度。
弧线将从startAngle 开始,并持续扫描角度度数,值为 360 时为一整圈。正数表示顺时针,负数表示逆时针。
© 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.