Represents a square and provides geometric computations.
Creates a new Square instance.
The length of one side. Must be a positive number.
Gets the area of the square.
Gets the perimeter of the square.
Gets the side length of the square.
Static
Creates a square from its area.
Must be a positive number.
A new Square instance.
Represents a square and provides geometric computations.