public class MapSelectShape
extends java.lang.Object
构造器和说明 |
---|
MapSelectShape(java.awt.Shape[] shape,
java.awt.Point[] point,
int selectType) |
限定符和类型 | 方法和说明 |
---|---|
void |
addSelectValue(java.awt.Point point,
java.awt.Shape shape)
添加对应的选中点和选中的区域
|
boolean |
containsPoint(java.awt.Point point)
判断多个区域中 是否包含Point
|
java.awt.Point[] |
getSelectPoints()
返回选中的点 数组
|
java.awt.Shape[] |
getSelectShapes()
返回选中的区域 数组
|
int |
getSelectType()
返回选中的类型: 区域 或者点
|
void |
setSelectType(int selectType)
设置选中的类型: 区域 或者点
|
public MapSelectShape(java.awt.Shape[] shape, java.awt.Point[] point, int selectType)
public boolean containsPoint(java.awt.Point point)
public void addSelectValue(java.awt.Point point, java.awt.Shape shape)
public java.awt.Point[] getSelectPoints()
public java.awt.Shape[] getSelectShapes()
public void setSelectType(int selectType)
public int getSelectType()