Print at Dec 20, 2025, 4:41:58 PM

Posted by bandara at Jul 14, 2011, 9:44:23 AM
Re: how to get area of room
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.