shirleydd

a basic question about polygon.rings, am a rookie :p

Discussion created by shirleydd on Oct 19, 2010
I want to ask what is the meaning of "polygon.rings.length", what does it return?
polygon.rings[i][j][k], here the i, j and k represent? why we use 3 demonsion array?

I am trying to implement something through silverlight, but I only have a sample written in java, so thanks for all the help.

PS: I am trying to receive a line from these codes:
var line1 = [[polygon.rings[k][i][0], polygon.rings[k][i][1]], [polygon.rings[k][i + 1][0], polygon.rings[k][i+ 1][1]]];

Outcomes