"""
shape service
"""


class ShapeFactory:
    @staticmethod
    def getShapeByName(shapeName, **param):
        shapeNameWords = shapeName.strip().split()
        shapeName = ''
        for word in shapeNameWords:
            shapeName += word.title()
        shapeObj = eval(shapeName)(**param)
        return shapeObj

b0f8e87e9b981ae18048e7adc8b1ebc44c448493
<mask token>

<mask token>


class ShapeFactory:
    <mask token>

<mask token>


class ShapeFactory:

    @staticmethod
    def getShapeByName(shapeName, **param):
        shapeNameWords = shapeName.strip().split()
        shapeName = ''
        for word in shapeNameWords:
            shapeName += word.title()
        shapeObj = eval(shapeName)(**param)
        return shapeObj

"""
shape service
"""


class ShapeFactory:
    @staticmethod
    def getShapeByName(shapeName, **param):
        shapeNameWords = shapeName.strip().split()
        shapeName = ''
        for word in shapeNameWords:
            shapeName += word.title()
        shapeObj = eval(shapeName)(**param)
        return shapeObj
