The Layer class inherits all properties and methods of theĀ Element class.