TextToScreen Method
TextToScreen(Point)
When implemented by a class, converts given text coordinates, index of line and character, to screen coordinates.
Declaration
Point TextToScreen(Point position)
Parameters
Type | Name | Description |
---|---|---|
Point | position | The text coordinate Point to convert. |
Returns
Type | Description |
---|---|
Point | The Point representing screen coordinate. |
TextToScreen(Int32, Int32)
When implemented by a class, converts given text coordinates, index of line and character, to screen coordinates.
Declaration
Point TextToScreen(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Horizontal text coordinate to convert. |
Int32 | y | Vertical text coordinate to convert. |
Returns
Type | Description |
---|---|
Point | The Point representing screen coordinate. |
TextToScreen(Point, Boolean)
When implemented by a class, converts given text coordinates, index of line and character, to screen coordinates.
Declaration
Point TextToScreen(Point position, bool lineEnd)
Parameters
Type | Name | Description |
---|---|---|
Point | position | Point coordinate to convert. |
Boolean | lineEnd | Boolean value indicating if the text position can be set to the end of the wrapped line. |
Returns
Type | Description |
---|---|
Point | The Point representing screen coordinate. |