hello
I'm sorry not to save but to pass the points based
on the id to polygons and then draw that is the question
Type: Posts; User: liulca
hello
I'm sorry not to save but to pass the points based
on the id to polygons and then draw that is the question
hello
I'm sorry but how do I save the collection :confused:
<
int n = POLYGON.size() ;
int[] x = new int[n];
int[] y = new int[n];
...
hello
I'm sorry I can not go on I thank you in advance.:confused:
<
int n = POLYGON.size() ;
int[] x = new int[n];
int[] y = new int[n];
hello
I apologize to recognize when the id changes should I use if () {}
or how do I know when the id changes and pass the points array
and draw thank you in advance
<
int n =...
hello
I apologize as we move forward I can not see me for help
<
int[] x = null ;
int[] y = null ;
int index = 0;
hello
how do I save id, x, y array polygons
I thank you in advance
<
Polygon[] polygons = new Polygon[4];
int id_number = 0;
int x = 0;
hello
the procedure described in post # 15. is correct but I can not write the code
I'm not very experienced you asking for your help I thank you in advance :confused:
hello
this is the code and I get this error I can get some help I thank you in advance.:confused:
<
Map<Integer,List<POINTS>> PolygonsByID = new...
hello
I followed the steps # 15 but the problem is that I can not understand
I can get some help or some example thank you in advance :confused:
hello
I'm sorry but I do not understand what code I have to watch.:confused:
hello
I'm sorry but I do not know how I solve this problem you can see some examples thank you in advance.:confused:
hello
asking for your help I do not understand do wrong I'm working on this code can not spend points to individual polygons could get some help I thank you in advance.
<
...
hello
I'm working on this solution but I error
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 50, Size: 1
Thanks for your patience
<
...
hello
the question is
1) how do I count the number of points for each polygon;
2) How do I switch points to polygons
I thank you in advance
<
Map<Integer,List<POINTS>>...
hello
container is one where all the points then group the different polygons based on their <id> and eventually draw polygons can be such a thing or are on the wrong track
I'm working on this code...
I'm sorry this is the correct code
I thank you in advance help me
<
import java.awt.Container;
import java.awt.Graphics;
import java.awt.event.WindowAdapter;
import...
hi this is the code formatted I hope I was clear I thank you in advance
import java.awt.Color;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Polygon;
import...
hello
my problem is how to draw polygons other than 4 <id> a arraylist containing all points of the polygons the code that I wrote I just draw a polygon with 25 points
example
polygon 1 ...... id...
hi my problem is to draw 4 different polygons thanks in advance
import java.awt.Color;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Polygon;
import...