RedX.java
1    package npw;
2    import painter.SPainter;
3    import shapes.SRectangle;
4    import java.awt.*;
5    public class RedX
6    {
7        public static void main(String[] args)
8        {
9            SPainter Anthony = new SPainter("RedX", 600,600);
10           SRectangle rect = new SRectangle(500,100);
11           Anthony.setColor(Color.RED);
12           Anthony.tl(45);
13           Anthony.paint(rect);
14           Anthony.tr();
15           Anthony.paint(rect);
16       }
17   }
18