draw.Drawing.layers
draw.Drawing: L = layers (D)
Return the layers the drawing actually uses, as a sorted cellstr.
The current layer appears only if something was drawn on it, so this reports the layers a backend has to declare, not the layers that were selected along the way.
Source Code: draw.Drawing