public static class GralPos.Coordinate extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
attr
Attributes of this coordinate.
|
char |
dirNext
direction of the next element.
|
int |
endSepLine
Relation of xEnd and yEnd right and bottom to any separation line.
0 - relation to left and top border.
|
int |
p1
The start position for the spread.
|
int |
p1Frac
Fractional parts of position.
|
int |
p2
The end position for the spread.
|
int |
p2Frac
Fractional parts of position.
|
int |
pb
Additional border value for
GralPos.next . |
int |
pbf
Additional border value for
GralPos.next . |
int |
sepLine
Relation of x and y left and top to any separation line. 0 - relation to left and top border.
|
Constructor and Description |
---|
Coordinate() |
Modifier and Type | Method and Description |
---|---|
GralPos.Coordinate |
set(int z1,
int z1Frac,
int z2,
int z2Frac,
GralPos.Coordinate parent)
Sets the new position for this coordinate.
|
public int attr
public char dirNext
public int endSepLine
public int p1
public int p1Frac
public int p2
public int p2Frac
public int pb
GralPos.next
.public int pbf
GralPos.next
.public int sepLine
public Coordinate()
public GralPos.Coordinate set(int z1, int z1Frac, int z2, int z2Frac, GralPos.Coordinate parent)
z1
- z1Frac
- z2
- z2Frac
- parent
- The refer position. Note that parent may be == this because the new position based on the current.