Closed Ralith closed 3 years ago
ShapeType's options are all rather specific, preventing an implementer of Shape from introducing significantly diverse custom shapes. A ShapeType::Custom might be missing, or perhaps Shape::shape_type should return Option.
ShapeType
Shape
ShapeType::Custom
Shape::shape_type
Option
ShapeType
's options are all rather specific, preventing an implementer ofShape
from introducing significantly diverse custom shapes. AShapeType::Custom
might be missing, or perhapsShape::shape_type
should returnOption
.