Custom3DLabel QML Type
그래프에 사용자 정의 레이블을 추가합니다. 더 보기...
| Import Statement: | import QtDataVisualization 1.12 |
| Since: | QtDataVisualization 1.1 |
| In C++: | QCustom3DLabel |
| Inherits: | |
| Status: | Deprecated |
이 유형은 더 이상 권장되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
- backgroundColor : color
- backgroundEnabled : bool
- borderEnabled : bool
- facingCamera : bool
- font : font
- text : string
- textColor : color
상세 설명
사용자 정의 레이블의 텍스트, 글꼴, 위치, 크기 조정, 회전 및 색상을 설정할 수 있습니다. 또한 레이블의 테두리 및 배경 표시 여부를 전환할 수 있습니다. 색상, 테두리 및 배경은 명시적으로 설정하지 않는 한 활성 테마에 따라 결정됩니다.
참고: 크기 조정시 z 좌표는 영향을 미치지 않습니다. x 및 y 좌표를 동일하게 설정하면 원래 글꼴 크기가 유지됩니다.
속성 설명
backgroundColor : color
이 기능이 활성화된 경우 레이블 배경색입니다. 기본값은 "gray" 입니다.
backgroundEnabled도 참조하십시오 .
backgroundEnabled : bool
라벨 배경이 활성화될지 여부를 지정합니다. 이 값을 ` false`로 설정하면 ` backgroundColor `는 적용되지 않습니다. 기본값은 ` true`입니다.
borderEnabled : bool
라벨 테두리를 사용할지 여부를 지정합니다. 기본값은 ‘ true ’입니다.
facingCamera : bool
라벨이 항상 카메라를 향하도록 할지 여부를 지정합니다. 기본값은 ‘ false ’입니다. ‘ true ’로 설정된 경우, ‘ rotation ’은 적용되지 않습니다.
font : font
라벨에 사용할 글꼴입니다. 기본값은 Font {family: "Arial"; pointSize: 20} 입니다. 특수 서식(예: 윤곽선)은 지원되지 않습니다.
text : string
라벨에 표시할 텍스트입니다. 서식 있는 텍스트는 지원되지 않습니다.
textColor : color
라벨 텍스트의 색상입니다. 이 옵션은 활성화된 경우 라벨 테두리에도 적용됩니다. 기본값은 "white" 입니다.
borderEnabled도 참조하십시오 .
© 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.