import java.awt.*; public class FuenteCCView extends ComponentView { private String value; private Point textPosition; private Polygon shape1, shape2; public FuenteCCView (Point a, Point b, int v){ center = new Point((a.x+b.x)/2, (a.y+b.y)/2); int h = (Math.abs(a.x-b.x)+Math.abs(a.y-b.y)); int[] x = {0, 5, 5, -5, -5, 0, 0, -25, 25, 0}; int[] y = {-45, -45,-55, -55, -45, -45, -10, -10, -10, -10}; for (int i=0; i