public interface IUiGridMetrics
Modifier and Type | Method and Description |
---|---|
double |
getColumnLeftXCoordinate(int column)
Gets the left x coordinate of the provided column
|
double |
getColumnLeftXCoordinate(IRangeAddress address)
Gets the left x coordinate of the provided
IRangeAddress |
double |
getColumnRightXCoordinate(int column)
Gets the right x coordinate of the provided column
|
double |
getColumnRightXCoordinate(IRangeAddress address)
Gets the right x coordinate of the provided
IRangeAddress |
double |
getRowBottomYCoordinate(int row)
Gets the bottom y coordinate of the provided row
|
double |
getRowBottomYCoordinate(IRangeAddress address)
Gets the bottom y coordinate of the provided
IRangeAddress |
double |
getRowTopYCoordinate(int row)
Gets the top y coordinate of the provided row
|
double |
getRowTopYCoordinate(IRangeAddress address)
Gets the top y coordinate of the provided
IRangeAddress |
IRangeAddress |
getVisibleCellAddress(double x,
double y)
Converts grid canvas pixels to
IRangeAddress |
int |
getVisibleColumnIndex(double x)
Converts grid canvas horizontal coordinate to number of the
IColumn |
int |
getVisibleRowIndex(double y)
Converts grid canvas vertical coordinate to number of the
IRow |
IRangeAddress getVisibleCellAddress(double x, double y)
IRangeAddress
x
- horizontal coordinate (from left to right, in pixels)y
- vertical coordinate (from top to bottom, in pixels)IRangeAddress
of cell owns given pointint getVisibleRowIndex(double y)
IRow
y
- the vertical coordinate (from top to bottom, in pixels)IRow
number (starts from 1)int getVisibleColumnIndex(double x)
IColumn
x
- the horizontal coordinate (from left to right, in pixels)IColumn
number (starts from 1) own given x-coordinatedouble getColumnLeftXCoordinate(int column)
column
- the column indexdouble getColumnRightXCoordinate(int column)
column
- the column indexdouble getRowTopYCoordinate(int row)
row
- the row indexdouble getRowBottomYCoordinate(int row)
row
- the row indexdouble getColumnLeftXCoordinate(IRangeAddress address)
IRangeAddress
address
- the range addressIRangeAddress
double getColumnRightXCoordinate(IRangeAddress address)
IRangeAddress
address
- the range addressIRangeAddress
double getRowTopYCoordinate(IRangeAddress address)
IRangeAddress
address
- the range addressIRangeAddress
double getRowBottomYCoordinate(IRangeAddress address)
IRangeAddress
address
- the range addressIRangeAddress
Copyright © 2024. All rights reserved.