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.
|
(package private) int |
n1
Start Position in percent.
|
(package private) int |
n2
End Position in percent.
|
(package private) char |
origin |
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 |
---|---|
(package private) void |
calc(int[] dst,
int dparent,
int dnat,
int xPixelUnit,
int[] xPixelFrac)
Calculate from size to pixel.
|
(package private) void |
set(GralPos.Coordinate src)
Copies all values.
|
GralPos.Coordinate |
set(int z1,
int z1Frac,
int z2,
int z2Frac,
GralPos.Coordinate parent)
Sets the new position for this coordinate.
|
public int p1
public int p2
int n1
int n2
public int p1Frac
public int p2Frac
public int pb
GralPos.next
.public int pbf
GralPos.next
.public int attr
char origin
public char dirNext
public int sepLine
public int endSepLine
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.void set(GralPos.Coordinate src)
src
- void calc(int[] dst, int dparent, int dnat, int xPixelUnit, int[] xPixelFrac)