Package org.opensourcephysics.media.core
Class TransformArray
java.lang.Object
org.opensourcephysics.media.core.TransformArray
This manages an AffineTransform array.
Every array element is guaranteed to be non-null.
- Version:
- 1.0
- Author:
- Douglas Brown
-
Constructor Details
-
TransformArray
public TransformArray(int initialLength) Constructs a TransformArray object.- Parameters:
initialLength
- the initial length of the array
-
-
Method Details
-
get
Gets the specified transform array element.- Parameters:
n
- the array index- Returns:
- the transform at the specified index
-
setLength
public void setLength(int newLength) Sets the length of the transform array.- Parameters:
newLength
- the new length of the array
-