Graphic Rendering System 1.0
A Java-based graphic rendering system implementing various design patterns
Loading...
Searching...
No Matches
ShapeVisitor.java
Go to the documentation of this file.
1package com.example.graphics.visitor;
2
3import com.example.graphics.model.Circle;
4import com.example.graphics.model.Line;
5import com.example.graphics.model.Rectangle;
6import com.example.graphics.model.Triangle;
7
13public interface ShapeVisitor {
18 void visit(Circle circle);
19
24 void visit(Rectangle rectangle);
25
30 void visit(Line line);
31
36 void visit(Triangle triangle);
37}