Scene
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Scene 元素是視覺標記的容器。每個錶面都必須包含一個 Scene
元素。
語法
<Scene backgroundColor="argb-color">
<!-- Only the most common inner element is shown here. -->
<Group ... />
...
</Scene>
屬性
Scene
元素可包含 backgroundColor
屬性,該屬性可設為 ARGB 顏色值,代表錶面情境的背景顏色。
如果未定義這個屬性或設為無效值,系統會使用預設值 ##ff000000
(不透明黑)。
內部元素
Scene
元素必須包含至少一個下列內部元素:
為您推薦
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-08-04 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]