Constructor and Description |
---|
SizeMapping(Path path,
Extent extent) |
Modifier and Type | Method and Description |
---|---|
void |
assignExtent(Extent extent)
Replace the existing
Extent with a new value. |
Extent |
getExtent()
The size.
|
Path |
getPath()
The path.
|
SizeMapping |
scaleXYBy(ScaleFactor scaleFactor)
Scales the XY dimensions the factor.
|
public void assignExtent(Extent extent)
Extent
with a new value.extent
- the extent to assign.public SizeMapping scaleXYBy(ScaleFactor scaleFactor)
This is an immutable method.
scaleFactor
- the factor to scale by.SizeMapping
with the scale-factor applied.public Path getPath()
public Extent getExtent()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.