GMImage.AddPathLinetoAbs
------------------------

Draw to a single point.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.AddPathLinetoAbs"; ImageRef; X; Y ) 

**MBS**( **"GMImage.AddPathLinetoAbs";** /\* Draw to a single point. \*/  
**$ImageRef**; /\* The image reference number.e.g. 1 \*/   
**$X**; /\* The x coordinate.e.g. 10 \*/   
**$Y**) /\* The y coordinate.e.g. 10 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| X | The x coordinate. | 10 |
| Y | The y coordinate. | 10 |

### Result

Returns OK or error.

### Description

Draw to a single point.  
Draw a line from the current point to the given coordinate which becomes the new current point. Relative coordinates are used. At the end of the command, the new current point is set to the final set of coordinates provided.  
### See also

- [GMImage.AddPathArcAbs](GMImageAddPathArcAbs.md)
- [GMImage.AddPathCurvetoAbs](GMImageAddPathCurvetoAbs.md)
- [GMImage.AddPathCurvetoRel](GMImageAddPathCurvetoRel.md)
- [GMImage.AddPathLinetoRel](GMImageAddPathLinetoRel.md)
- [GMImage.AddPathMovetoAbs](GMImageAddPathMovetoAbs.md)
- [GMImage.AddPathMovetoRel](GMImageAddPathMovetoRel.md)

### Example Databases

- [GraphicsMagick/GraphicsMagick Path Drawing](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/GraphicsMagick%20Path%20Drawing.shtml#2ScriptAnchor_)

### Blog Entries

- [GraphicsMagick in FileMaker, part 21](https://www.mbsplugins.de/archive/2022-12-21/GraphicsMagick_in_FileMaker_pa/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.AddPathCurvetoRel](GMImageAddPathCurvetoRel.md) - [GMImage.AddPathLinetoHorizontalAbs](GMImageAddPathLinetoHorizontalAbs.md)

[HTML Version](GMImageAddPathLinetoAbs.shtml)