Back to project page elf.map.android.
The source code is released under:
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...
If you think the Android project elf.map.android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * License: Public Domain/*from w w w . j a v a 2 s . c o m*/ * Author: elf * EMail: elf198012@gmail.com */ package elf.map; //import java.util.ArrayList; //import java.util.List; public class Area{ public Area(int nPoints){ _points = new Point[nPoints]; } public int Points(){ return _points.length; } public void setPoint(int nIndex, Point point){ _points[nIndex] = point; } public Point getPoint(int nIndex){ return _points[nIndex]; } public Rect getBoundingRect(){ return _rtBoundingRect; } // public boolean _bWater; public String _strName; // public List<Point> _points = new LinkedList<Point>(); private Point[] _points; public Rect _rtBoundingRect; }