Jump to content

Rectangle[] rects = new Rectangle[]....??

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
floodemo

floodemo

    Newbie

  • Members
  • Pip
  • 6 posts
what does this mean/do??



Rectangle[] rects = new Rectangle[]
			{
				new Rectangle(8,8,119,86), new Rectangle(127,8,119,86), new Rectangle(246,8,121,86),
				new Rectangle(8,94,119,90), new Rectangle(127,94,119,90), new Rectangle(246,94,121,90),
				new Rectangle(8,184,119,88), new Rectangle(127,184,119,88), new Rectangle(246,184,121,88)
			};

Edited by Jaan, 21 June 2009 - 04:01 AM.
Please use code tags when you're posting your codes!


#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It looks like it's creating an array of Rectangle objects and initializing them.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog