Layer constructor
init
Initializes new instance of Layer class.
init
Initializes new instance of Layer class.
def __init__(self, name):
...
| Parameter |
Type |
Description |
| name |
System.String |
The name of the layer. |
Exceptions
| Exception |
Description |
| ArgumentException |
Thrown when name is null or empty. |
init
Initializes new instance of Layer class.
def __init__(self, name, visible):
...
| Parameter |
Type |
Description |
| name |
System.String |
The name of the layer. |
| visible |
bool |
The layer visibility indicator. |
Exceptions
| Exception |
Description |
| ArgumentException |
Thrown when name is null or empty. |
See Also