public static class AddDimensionedImage.ClientAnchorDetail extends Object
| Constructor and Description |
|---|
ClientAnchorDetail(int fromIndex,
int toIndex,
int inset)
Create a new instance of the ClientAnchorDetail class using the
following parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFromIndex()
Get one of the number of the column or row that contains the cell
whose top left hand corner will be aligned with the top left hand
corner of the image.
|
int |
getInset()
Get the images offset from the edge of a cell.
|
int |
getToIndex()
Get one of the number of the column or row that contains the cell
whose top left hand corner will be aligned with the bottom right hand
corner of the image.
|
public ClientAnchorDetail(int fromIndex,
int toIndex,
int inset)
fromIndex - A primitive int that contains one of the
coordinates (row or column index) for the top left
hand corner of the image.toIndex - A primitive int that contains one of the
coordinates (row or column index) for the bottom
right hand corner of the image.inset - A primitive int that contains a value which indicates
how far the image should be inset from the top or the
left hand edge of a cell.public int getFromIndex()
public int getToIndex()
public int getInset()