Android Open Source - elf.map.android Area






From Project

Back to project page elf.map.android.

License

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.

Java Source Code

/*
 * 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;
}




Java Source Code List

elf.map.Area.java
elf.map.Line.java
elf.map.Location.java
elf.map.MainActivity.java
elf.map.MapPainter.java
elf.map.MapStyle.java
elf.map.MapView.java
elf.map.Map.java
elf.map.NamedLocation.java
elf.map.Point.java
elf.map.Rect.java
elf.map.Size.java
elf.map.Tile.java
elf.map.WaterWay.java
elf.map.Water.java
elf.map.Way.java