Package com.itextpdf.layout.renderer
Class GridView.Pos
java.lang.Object
com.itextpdf.layout.renderer.GridView.Pos
- Direct Known Subclasses:
GridView.Cursor
- Enclosing class:
GridView
Represents position on a grid.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPos
(int y, int x) Creates a position from two integers.Pos
(GridView.Pos other) Creates a position from other position instance. -
Method Summary
-
Field Details
-
x
protected int xcolumn index. -
y
protected int yrow index.
-
-
Constructor Details
-
Pos
public Pos(int y, int x) Creates a position from two integers.- Parameters:
y
- row index.x
- column index.
-
Pos
Creates a position from other position instance.- Parameters:
other
- other position
-
-
Method Details
-
getX
public int getX() -
getY
public int getY()
-