A Material checkbox with customizable colors.
Use the Touch button on the component to get the state of the checkbox.
可自定義顏色的材質(zhì)復(fù)選框彤钟。 使用組件上的觸摸按鈕獲取復(fù)選框的狀態(tài)想幻。
板栗:意思就是用 Touch 按鈕內(nèi)的屬性去判斷這個(gè)圖層達(dá)到什么狀態(tài)時(shí)激活什么事件。
屬性
Enable 啟用
A boolean that is true when the layer is displayed.
勾選啟用圖層诚亚。
Position 位置
The position to display the checkbox.
復(fù)選框的位置增蹭。
Anchor 錨點(diǎn)
The anchor point to position the layer relative to. See Coordinates for more information.
位于屏幕中的錨點(diǎn)滴某,詳細(xì)信息閱讀Coordinates 坐標(biāo)。
Tint Color
The color of the checkbox when checked.
復(fù)選框選中時(shí)的顏色。
Theme 主題
The theme of the checkbox when unchecked: light or dark.
復(fù)選框用在哪種背景主題上: light 適用于淺色背景霎奢,dark 適用于深色背景户誓。
Opacity 不透明度
The opacity of the checkbox.
復(fù)選框的不透明度。
Turn On 打開(kāi)
A pulse that checks the checkbox.
勾選后初始狀態(tài)為選中狀態(tài)幕侠。
Turn Off 關(guān)閉
A pulse that unchecks the checkbox.
勾選后初始狀態(tài)為未選中狀態(tài)
Disabled
A boolean that is true when the checkbox is disabled.
勾選后復(fù)選框被禁用帝美。
Touch
On / Off
A boolean that is true when the checkbox is checked.
復(fù)選框選中時(shí)布爾值為真。
板栗:估計(jì)是連到別的模塊同步狀態(tài)用的
全部圖層橙依,查看 圖層目錄
Related Patches 相關(guān)模塊
Switch
Related Layers 相關(guān)圖層
Status Bar 狀態(tài)欄,Switch 開(kāi)關(guān)硕旗,Fake Keyboard 模擬鍵盤窗骑,Page Control 翻頁(yè)小點(diǎn),Circular Progress 環(huán)形加載漆枚,Text Field 文本輸入框