From a0db4797b758d2d192d04bd2a8fac0efe3d6acb7 Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 3 Mar 2014 15:22:54 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gm/LR_2.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gm/LR_2.java b/src/gm/LR_2.java index 1d39fb0..9033af7 100644 --- a/src/gm/LR_2.java +++ b/src/gm/LR_2.java @@ -1,7 +1,7 @@ package gm; import com.annimon.graphics.Application; -import com.annimon.graphics.Clip; +import com.annimon.graphics.Clippable; import com.annimon.graphics.GraphicsExt; import com.annimon.graphics.Point; import com.annimon.graphics.PolygonClip; @@ -22,7 +22,7 @@ public class LR_2 extends Application { new Point(8, 3), new Point(5, 6) }; - private Clip clip; + private Clippable clip; public LR_2() { super(640, 480); @@ -45,6 +45,7 @@ public class LR_2 extends Application { g.line(0, 0, 10, 7); g.line(4, 4, 8, 10); g.line(10, 0, 0, 7); - + g.setColor(Color.BLUE); + g.line(10, 3, 1, 7.5); } }