Skip to main content

参数

any
必填
要索引的值。对于 Drawing object,会使用 RealDrawingObject __index handler。
any
必填
用于索引的 property key。Drawing object properties 基于 strings。

返回值

any
使用 property 索引 object 返回的值,或在 Drawing __index handler 对该 property 没有值时返回 nil。

示例

Read a Drawing property like direct indexing.