Uses of Class
com.example.renderer.factory.Rectangle
Packages that use Rectangle
-
Uses of Rectangle in com.example.renderer.visitor
Methods in com.example.renderer.visitor with parameters of type RectangleModifier and TypeMethodDescriptionvoidExportVisitor.visitRectangle(Rectangle rectangle) voidJSONExportVisitor.visitRectangle(Rectangle r) 将矩形对象转换为JSON格式输出 格式: {"type":"rectangle", "x":x, "y":y, "w":width, "h":height}