跳到主要内容

绘制排序 (Selector.drawing_order)

Selector.drawing_order

声明

node.selector():drawing_order(val)

参数

参数类型是否必填说明
valnumber控件的绘制排序

返回值

类型说明
Selector返回控件查找器,用于链式编程

说明

通过控件绘制排序约束。

待实现

该接口正在开发中。

示例

local node = require("node")

local n = node.selector():drawing_order(1):find()

AScript 对应

# AScript (Python)
from ascript.android.node import Selector

node = Selector().drawingOrder(1).find()