Package sim.portrayal
Interface Scalable2D
- All Superinterfaces:
Scaled2D
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
Methods inherited from interface sim.portrayal.Scaled2D
getScale2D
-
Method Details
-
setScale2D
void setScale2D(double val)
-