edu.byu.deg.osmx
Interface ScalableElement

All Known Implementing Classes:
OSMXObjectSetType

public interface ScalableElement

Represents an element with height and width in a graphical plane.


Method Summary
 int getHeight()
          Returns the height of the element.
 int getWidth()
          Returns the width of the element.
 void setHeight(int value)
          Updates the height of the element.
 void setWidth(int value)
          Updates the width of the element.
 

Method Detail

getWidth

public int getWidth()
Returns the width of the element.

Returns:
The width of the element, in pixels.

getHeight

public int getHeight()
Returns the height of the element.

Returns:
The height of the element, in pixels.

setWidth

public void setWidth(int value)
Updates the width of the element.

Parameters:
value - The desired width of the element, in pixels.

setHeight

public void setHeight(int value)
Updates the height of the element.

Parameters:
value - The desired height of the element, in pixels.