layer.id < number>

A unique identification number for this layer. No other layer will have this number. The layer id is read only and cannot be changed.
译:这一层的独特的识别号码。 没有其他层将这个数字。层id是只读的,无法改变。

layerA = new Layer
print layerA.id
# Output: 1

results matching ""

    No results matching ""