非实心描边
您在 Figma 中对矩形、边框、椭圆或线条图层设置了无法转换为 QML 绘制的单色描边的描边样式。当出现以下情况时,该图层会报告此问题:
- 最上层的可见描边为渐变或另一种非实心填充。
- 半透明描边位于渐变、其他非实心描边之上,或位于混合模式非“Normal ”的描边之上。
堆叠的实色描边在转换时不会出现此问题,即使最上层的描边是半透明的也是如此。“Figma to Qt ”会将从顶部向下直至第一个完全不透明描边的描边混合为单一颜色。位于第一个完全不透明描边下方的描边会被隐藏,且不影响结果。
注意: 混合后的颜色以字面值形式写入。如果任何被混合的描边绑定到变量上,则导出的颜色不会绑定到相应的设计令牌,因为没有任何单个令牌能够代表该混合效果。在此情况下,确切的颜色优先于令牌。无需混合的描边将保留其令牌绑定。
选择“Use solid stroke ”可在 Figma 中为整个图层使用纯色填充。否则,该图层将作为图像渲染。
另请参阅 “修复转换问题”。
© 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.