public class Padding extends AnchorBean<Padding>
It is valid-state for padding to be 0 in all dimensions (in which case no padding is applied).
Constructor and Description |
---|
Padding() |
Modifier and Type | Method and Description |
---|---|
Point3i |
asPoint()
Exposes the padding as a
Point3i . |
int |
getPaddingXY()
Padding placed on each side of the outputted image (if it's within the image) in XY
directions
|
int |
getPaddingZ()
Padding placed on each side of the outputted image (if it's within the image) in Z direction
|
boolean |
hasNoPadding()
Whether no padding exists.
|
void |
setPaddingXY(int paddingXY)
Padding placed on each side of the outputted image (if it's within the image) in XY
directions
|
void |
setPaddingZ(int paddingZ)
Padding placed on each side of the outputted image (if it's within the image) in Z direction
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Point3i asPoint()
Point3i
.Point3i
with the padding in each dimension.public boolean hasNoPadding()
public int getPaddingXY()
public void setPaddingXY(int paddingXY)
public int getPaddingZ()
public void setPaddingZ(int paddingZ)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.