Package com.massifmaps.ui
Class RasterTileClickInfo
java.lang.Object
com.massifmaps.ui.RasterTileClickInfo
A container class that provides information about a click performed on raster tile.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this object is equal to the specified object.Returns the click info.Returns the click position.intReturns the click type.Returns the interpolated color at the click position.getLayer()Returns the layer of the raster tile.Returns the tile id of the clicked feature.Returns the color of the nearest pixel to the click position.inthashCode()Returns the hash value of this object.
-
Method Details
-
equals
Checks if this object is equal to the specified object. -
hashCode
public int hashCode()Returns the hash value of this object. -
getClickType
public int getClickType()Returns the click type.- Returns:
- The type of the click performed.
-
getClickInfo
Returns the click info.- Returns:
- The attributes of the click.
-
getClickPos
Returns the click position.- Returns:
- The click position in the coordinate system of the data source.
-
getMapTile
Returns the tile id of the clicked feature.- Returns:
- The tile id of the clicked feature.
-
getNearestColor
Returns the color of the nearest pixel to the click position.- Returns:
- The color of the nearest pixel to the click position.
-
getInterpolatedColor
Returns the interpolated color at the click position.- Returns:
- The interpolated color at the click position.
-
getLayer
Returns the layer of the raster tile.- Returns:
- The layer of the raster tile.
-