Custom3DLabel QML Type
그래프에 사용자 지정 레이블을 추가합니다. 더 보기...
Import Statement: | import QtDataVisualization 1.8 |
Since: | QtDataVisualization 1.1 |
In C++: | QCustom3DLabel |
Inherits: |
속성
- 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 를참조하세요 .
© 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.