sim.portrayal
Interface Scalable2D


public interface Scalable2D

A Scalable2D object provides a scale, and can have the same changed.

Objects which implement this interface can have their scales changed by the AdjustablePortryal2D. Note that scale is not necessarily the same thing as value (as in the Valuable interface), though you can make them the same thing if you like. Typically scale is some size notion, where value is some intrinsic value which might be reflected, for example, in the color of the object.


Method Summary
 double getScale2D()
           
 void setScale2D(double val)
           
 

Method Detail

getScale2D

double getScale2D()

setScale2D

void setScale2D(double val)