Re: how to get area of room

by bandara » Thu Jul 14, 2011 9:44 am

Sir, i got the area by this code
float area=0.0f;
for (Room piece : getHome().getRooms()) {
area=piece.getArea();
}
Tx for your support,i need more :)

Sir, this returns the area of last drawn room.
Can u tell me, how could i get area of any selected Room in drawing.