Interface PartialShapeConstructor#

interface PartialShapeConstructor {
    new PartialShapeConstructor(shape): PartialShape;
}

This interface contains constructor of the PartialShape class.

Constructors#

constructor

  • new PartialShapeConstructor(shape): PartialShape
    

    It constructs PartialShape with a specified string. Skip defining the shape parameter to create an empty shape.

    • Parameters:

      • Optional:

        shape: string
        

      A string representation of the shape.

    • Returns: PartialShape