📅  最后修改于: 2022-03-11 14:44:44.888000             🧑  作者: Mango
type
shapeType = (square, rectangle, circle);
shape = record
centerX, centerY: real;
case kind: shapeType of
square: (side: real);
rectangle: (length, height: real);
circle: (radius: real);
end;