Building a Layer object
window | Specifies the window (an object of the Window class) that will own this layer. |
parent | Specifies the layer that will be the parent of this layer. If null is specified, it will be the primary layer. |
Build an object of Layer class. The Layer class is built in a hidden state.