Uses of Interface
com.example.renderer.factory.Shape
Packages that use Shape
Package
Description
-
Uses of Shape in com.example.renderer.bridge
Methods in com.example.renderer.bridge with parameters of type Shape -
Uses of Shape in com.example.renderer.command
Constructors in com.example.renderer.command with parameters of type ShapeConstructor parameters in com.example.renderer.command with type arguments of type Shape -
Uses of Shape in com.example.renderer.factory
Classes in com.example.renderer.factory that implement ShapeModifier and TypeClassDescriptionclass
圆形图形实现类,表示一个由圆心坐标和半径定义的圆形。class
椭圆图形实现类class
class
三角形图形实现类Methods in com.example.renderer.factory that return ShapeModifier and TypeMethodDescriptionShapeFactory.createCircle
(int x, int y, int radius) 创建圆形实例ShapeFactory.createRectangle
(int x, int y, int width, int height) 创建矩形实例 -
Uses of Shape in com.example.renderer.singleton
Methods in com.example.renderer.singleton that return types with arguments of type ShapeModifier and TypeMethodDescriptionPersistenceManager.loadShapesFromFile
(String filePath) 从JSON文件加载图形列表Method parameters in com.example.renderer.singleton with type arguments of type ShapeModifier and TypeMethodDescriptionvoid
PersistenceManager.saveShapesToFile
(List<Shape> shapes, String filePath) 将图形列表序列化为JSON格式并保存到指定文件 -
Uses of Shape in com.example.renderer.ui
Constructor parameters in com.example.renderer.ui with type arguments of type Shape