Platforms to show: All Mac Windows Linux Cross-Platform

GMGraphicsMBS.PathArcAbs(c as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

GMGraphicsMBS.PathArcAbs(c() as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

GMGraphicsMBS.PathArcAbs(radiusX as Double, radiusY as Double, xAxisRotation as Double, largeArcFlag as boolean, sweepFlag as Boolean, x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Example:
```dim g as new GMGeometryMBS(500,500)dim c as new GMColorRGBMBS("white") // whitedim image as new GMImageMBS(g, c)image.strokeColor = new GMColorRGBMBS("red") // Outline colorimage.fillColor = new GMColorRGBMBS("green") // Fill colorimage.strokeWidth = 5dim draw as GMGraphicsMBS = image.Graphics// Draw an arcdraw.PathMovetoAbs 100,100draw.PathArcAbs(100,100, 0, false, false, 200,200)draw.DrawPathdraw.DrawBackdrop=image.CopyPicture
```
Notes: The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

GMGraphicsMBS.PathArcRel(c as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

GMGraphicsMBS.PathArcRel(c() as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes:
The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

In the GMPathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

GMGraphicsMBS.PathArcRel(radiusX as Double, radiusY as Double, xAxisRotation as Double, largeArcFlag as boolean, sweepFlag as Boolean, x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws an elliptical arc from the current point to (x, y).
Notes: The size and orientation of the ellipse are defined by two radii (radiusX, radiusY) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.

GMGraphicsMBS.PathClosePath
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Close the current subpath by drawing a straight line from the current point to current subpath's most recent starting point (usually, the most recent moveto point).

GMGraphicsMBS.PathCurvetoAbs(c as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

GMGraphicsMBS.PathCurvetoAbs(c() as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

GMGraphicsMBS.PathCurvetoAbs(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes: PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

GMGraphicsMBS.PathCurvetoRel(c as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

GMGraphicsMBS.PathCurvetoRel(c() as GMPathArgsMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes:
PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

GMGraphicsMBS.PathCurvetoRel(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Notes: PathCurvetoAbs indicates that absolutecoordinates will follow; PathCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

GMGraphicsMBS.PathLinetoAbs(c as GMCoordinateMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

GMGraphicsMBS.PathLinetoAbs(c() as GMCoordinateMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

GMGraphicsMBS.PathLinetoAbs(x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

GMGraphicsMBS.PathLinetoHorizontalAbs(v as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a horizontal line from the current point (cpx, cpy) to (x, cpy). PathLinetoHorizontalAbs indicates that absolute coordinates are supplied; PathLinetoHorizontalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x.

GMGraphicsMBS.PathLinetoHorizontalRel(v as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a horizontal line from the current point (cpx, cpy) to (x, cpy). PathLinetoHorizontalAbs indicates that absolute coordinates are supplied; PathLinetoHorizontalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x.

GMGraphicsMBS.PathLinetoRel(c as GMCoordinateMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

GMGraphicsMBS.PathLinetoRel(c() as GMCoordinateMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

GMGraphicsMBS.PathLinetoRel(x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Example:
```// new picture, 500x500 and filled with whitedim g as new GMGeometryMBS(500,500)dim c as new GMColorRGBMBS("white") // whitedim image as new GMImageMBS(g, c)dim draw as GMGraphicsMBS = image.Graphics// Draw pathdim cr as new GMColorRGBMBS("red")dim gr as new GMColorRGBMBS("green")draw.StrokeColor crdraw.FillColor grdraw.PathMovetoAbs(30,10)draw.PathLinetoAbs(20,55)draw.PathLinetoAbs(70,50)draw.PathLinetoAbs(80,5)draw.DrawPathdraw.Draw// show pictureimage.type = image.TrueColorType // make sure it's a bitmapBackdrop=image.CopyPicture
```
Notes: Draw a line from the current point to the given coordinate which becomes the new current point. PathLinetoAbs indicates that absolute coordinates are used; PathLinetoRel indicates that relative coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.

GMGraphicsMBS.PathLinetoVerticalAbs(v as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a vertical line from the current point (cpx, cpy) to (cpx, y). PathLinetoVerticalAbs indicates that absolute coordinates are supplied; PathLinetoVerticalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y.

GMGraphicsMBS.PathLinetoVerticalRel(v as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The various "lineto" commands draw straight lines from the current point to a new point.
Notes: Draws a vertical line from the current point (cpx, cpy) to (cpx, y). PathLinetoVerticalAbs indicates that absolute coordinates are supplied; PathLinetoVerticalRel indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y.

GMGraphicsMBS.PathMovetoAbs(c as GMCoordinateMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

GMGraphicsMBS.PathMovetoAbs(x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

GMGraphicsMBS.PathMovetoRel(c as GMCoordinateMBS)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

GMGraphicsMBS.PathMovetoRel(x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: The "moveto" commands establish a new current point.
Notes:
The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath.

Start a new sub-path at the given coordinate. PathMovetoAbs indicates that absolute coordinates will follow; PathMovetoRel indicates that relative coordinates will follow. If a relative moveto appears as the first element of the path, then it is treated as a pair of absolute coordinates. If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point.
Notes:
PathQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathQuadraticCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x and y.

 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point.
Notes:
PathQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathQuadraticCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

In the GMPathArgsMBS object, set the following properties: x1, y1, x and y.

GMGraphicsMBS.PathQuadraticCurvetoAbs(x1 as Double, y1 as Double, x as Double, y as Double)
 Type Topic Plugin Version macOS Windows Linux Targets method GraphicsMagick MBS GraphicsMagick Plugin 10.2 Yes Yes Yes All
Function: Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point.
Notes: PathQuadraticCurvetoAbs indicates that absolute coordinates will follow; PathQuadraticCurvetoRel indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.