Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GMImage.AddPathLinetoHorizontalAbs
Draws a horizontal line from the current point (cpx, cpy) to (x, cpy).
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "GMImage.AddPathLinetoHorizontalAbs"; ImageRef; x ) More
Parameters
Parameter | Description | Example |
---|---|---|
ImageRef | The image reference number. | 1 |
x | The new x coordinate. | 100 |
Result
Returns OK or error.
Description
Draws a horizontal line from the current point (cpx, cpy) to (x, cpy).GMImage.AddPathLinetoHorizontalAbs indicates that absolute coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x
See also
This function checks for a license.
Created 18th August 2014, last changed 19th May 2023
GMImage.AddPathLinetoAbs - GMImage.AddPathLinetoHorizontalRel
