Package org.wicketstuff.openlayers.api
Class Pixel
- java.lang.Object
-
- org.wicketstuff.openlayers.api.Pixel
-
- All Implemented Interfaces:
Serializable
public class Pixel extends Object implements Serializable
represents http://dev.openlayers.org/apidocs/files/OpenLayers/BaseTypes/Pixel-js.html- See Also:
- Serialized Form
-
-
Constructor Detail
-
Pixel
public Pixel(Size size)
calculates offset via size- Parameters:
size-
-
Pixel
public Pixel(int x, int y)
-
-
Method Detail
-
getSize
public Size getSize()
-
setSize
public void setSize(Size size)
-
getX
public int getX()
-
setX
public void setX(int x)
-
getY
public int getY()
-
setY
public void setY(int y)
-
getJSconstructor
protected String getJSconstructor()
-
getId
public String getId()
-
getJSadd
public String getJSadd()
create pixel as a variable.. Possibly to add to icon- Returns:
-
-