[]
Returns the column index containing the specified coordinate.
public int ColContaining(int x)
Type | Name | Description |
---|---|---|
int | x | Integer that defines a horizontal coordinate (X value) in pixels. |
Type | Description |
---|---|
int | An integer corresponding to the index of the column beneath the specified X coordinate. |