Custom3DLabel QML Type
グラフにカスタムラベルを追加します。詳細...
輸入に関する声明 | import QtDataVisualization 1.9 |
以来: | QtDataVisualization 1.1 |
C++ では | QCustom3DLabel |
継承: |
プロパティ
- 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
です。
フォント: font |
ラベルに使用するフォント。デフォルトはFont {family: "Arial"; pointSize: 20}
です。 特殊な書式(アウトライン化など)には対応していません。
テキスト: 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.