Platforms to show: All Mac Windows Linux Cross-Platform

Back to GM16GraphicsMBS class.

Next items

GM16GraphicsMBS.Arc(startX as Double, startY as Double, endX as Double, endY as Double, startDegrees as Double, endDegrees as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draw an arc using the stroke color and based on the circle starting at coordinates startX,startY, and ending with coordinates endX,endY, and bounded by the rotational arc startDegrees,endDegrees.
Example
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

image.type = image.TrueColorType
image.strokeColor = new GM16ColorRGBMBS("red") // Outline color
image.fillColor = new GM16ColorRGBMBS("green") // Fill color
image.strokeWidth = 5

dim draw as GM16GraphicsMBS = image.Graphics

draw.arc(250, 250, 100, 100,50,300)
draw.Draw

Backdrop=image.CopyPicture

GM16GraphicsMBS.Bezier(values() as GM16CoordinateMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draw a bezier curve using the stroke color and based on the coordinates specified by the coordinates array.

GM16GraphicsMBS.Circle(originX as Double, originY as Double, perimX as Double, perimY as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draw a circle using the stroke color and thickness using specified origin and perimeter coordinates.
Example
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

image.type = image.TrueColorType
image.strokeColor = new GM16ColorRGBMBS("red") // Outline color
image.fillColor = new GM16ColorRGBMBS("green") // Fill color
image.strokeWidth = 5

dim draw as GM16GraphicsMBS = image.Graphics

// Draw a circle
draw.Circle(250, 250, 120, 150)
draw.Draw

Backdrop=image.CopyPicture

If a fill color is specified, then the object is filled.

GM16GraphicsMBS.ClipPath(id as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Select a drawing clip path matching id.

GM16GraphicsMBS.ColorPixel(x as Double, y as Double, paintMethod as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Color image according to paintMethod.

The point method recolors the target pixel. The replace method recolors any pixel that matches the color of the target pixel. Floodfill recolors any pixel that matches the color of the target pixel and is a neighbor, whereas filltoborder recolors any neighbor pixel that is not the border color. Finally, reset recolors all pixels.

GM16GraphicsMBS.CompositeImage(x as Double, y as Double, w as Double, h as Double, file as folderitem)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Composite current image with contents of specified image, rendered with specified width and height, at specified coordinates.

If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction.

See also:

GM16GraphicsMBS.CompositeImage(x as Double, y as Double, w as Double, h as Double, file as folderitem, CompositeOperator as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Composite current image with contents of specified image, rendered with specified width and height, using specified composition algorithm, at specified coordinates.

If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction.

See also:

GM16GraphicsMBS.CompositeImage(x as Double, y as Double, w as Double, h as Double, image as GM16ImageMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Composite current image with contents of specified image, rendered with specified width and height, at specified coordinates.

If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction.

See also:

GM16GraphicsMBS.CompositeImage(x as Double, y as Double, w as Double, h as Double, image as GM16ImageMBS, CompositeOperator as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Composite current image with contents of specified image, rendered with specified width and height, using specified composition algorithm, at specified coordinates.

If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction.

See also:

GM16GraphicsMBS.CompositeImage(x as Double, y as Double, w as Double, h as Double, path as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Composite current image with contents of specified image, rendered with specified width and height, at specified coordinates.

If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction.

See also:

GM16GraphicsMBS.CompositeImage(x as Double, y as Double, w as Double, h as Double, path as string, CompositeOperator as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Composite current image with contents of specified image, rendered with specified width and height, using specified composition algorithm, at specified coordinates.

If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction.

See also:

GM16GraphicsMBS.Constructor(image as GM16ImageMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a new object referencing the given image.

GM16GraphicsMBS.DashArray(values() as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify the pattern of dashes and gaps used to stroke paths.

The strokeDashArray represents a zero-terminated array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. A typical strokeDashArray array might contain the members 5 3 2 0, where the zero value indicates the end of the pattern array.

GM16GraphicsMBS.DashOffset(offset as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify the distance into the dash pattern to start the dash.

See documentation on SVG's stroke-dashoffset property for usage details.

GM16GraphicsMBS.Draw

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws all draw commands collected.
Example
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

image.type = image.TrueColorType
image.strokeWidth = 5

dim draw as GM16GraphicsMBS = image.Graphics

draw.StrokeColor new GM16ColorRGBMBS("red")
draw.Line(100,100,400,400)
draw.Draw

Backdrop=image.CopyPicture

GM16GraphicsMBS.DrawPath

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draw on image using vector path.
Example
// new picture, 500x500 and filled with white
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)


dim draw as GM16GraphicsMBS = image.Graphics

// Draw path

dim cr as new GM16ColorRGBMBS("red")
dim gr as new GM16ColorRGBMBS("green")
draw.StrokeColor cr
draw.FillColor gr
draw.PathMovetoAbs(30,10)
draw.PathLinetoAbs(20,55)
draw.PathLinetoAbs(70,50)
draw.PathLinetoAbs(80,5)
draw.DrawPath

draw.Draw

// show picture
image.type = image.TrueColorType // make sure it's a bitmap
Backdrop=image.CopyPicture

GM16GraphicsMBS.Ellipse(originX as Double, originY as Double, perimX as Double, perimY as Double, arcStart as Double, arcEnd as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draw an ellipse using the stroke color and thickness, specified origin, x & y radius, as well as specified start and end of arc in degrees.

If a fill color is specified, then the object is filled.

GM16GraphicsMBS.FillColor(c as GM16ColorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify drawing object fill color.

GM16GraphicsMBS.FillOpacity(opacity as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify opacity to use when drawing using fill color.

GM16GraphicsMBS.FillRule(fillRule as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify the algorithm which is to be used to determine what parts of the canvas are included inside the shape.

See documentation on SVG's fill-rule property for usage details.

GM16GraphicsMBS.Font(fontname as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify font name to use when drawing text.
Example
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

dim draw as GM16GraphicsMBS = image.Graphics

// draw red text
draw.strokeColor(new GM16ColorRGBMBS("red")) // Outline color
draw.strokeWidth(1)
draw.Font("/Library/Fonts/Verdana.ttf")
draw.Text(50, 50, "Hello", "")
draw.Draw

Backdrop=image.CopyPicture

See also:

GM16GraphicsMBS.Font(fontname as string, StyleType as Integer, weight as Integer, StretchType as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the font.

Specify font family, style, weight (one of the set { 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 } with 400 being the normal size), and stretch to be used to select the font used when drawing text. Wildcard matches may be applied to style via the AnyStyle enumeration, applied to weight if weight is zero, and applied to stretch via the AnyStretch enumeration.

See also:

GM16GraphicsMBS.Gravity(GravityType as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify text positioning gravity.

GM16GraphicsMBS.Line(startX as Double, startY as Double, endX as Double, endY as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draw a line using stroke color and thickness using starting and ending coordinates
Example
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

image.strokeColor = new GM16ColorRGBMBS("red") // Outline color
image.fillColor = new GM16ColorRGBMBS("green") // Fill color
image.strokeWidth = 5

dim draw as GM16GraphicsMBS = image.Graphics

// Draw a line
draw.Line(100,100,400,400)
draw.Draw

image.type = image.TrueColorType
Backdrop=image.CopyPicture

GM16GraphicsMBS.Matte(x as Double, y as Double, paintMethod as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Change the pixel matte value to transparent.

The point method changes the matte value of the target pixel. The replace method changes the matte value of any pixel that matches the color of the target pixel. Floodfill changes the matte value of any pixel that matches the color of the target pixel and is a neighbor, whereas filltoborder changes the matte value of any neighbor pixel that is not the border color, Finally reset changes the matte value of all pixels.

GM16GraphicsMBS.MiterLimit(miterlimit as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify miter limit.

When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'. The default value of this parameter is 4.

GM16GraphicsMBS.PathArcAbs(c as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws an elliptical arc from the current point to (x, y).

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 GM16PathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

GM16GraphicsMBS.PathArcAbs(c() as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws an elliptical arc from the current point to (x, y).

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 GM16PathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

GM16GraphicsMBS.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 iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws an elliptical arc from the current point to (x, y).
Example
dim g as new GM16GeometryMBS(500,500)
dim c as new GM16ColorRGBMBS("white") // white
dim image as new GM16ImageMBS(g, c)

image.strokeColor = new GM16ColorRGBMBS("red") // Outline color
image.fillColor = new GM16ColorRGBMBS("green") // Fill color
image.strokeWidth = 5

dim draw as GM16GraphicsMBS = image.Graphics

// Draw an arc

draw.PathMovetoAbs 100,100
draw.PathArcAbs(100,100, 0, false, false, 200,200)
draw.DrawPath
draw.Draw

Backdrop=image.CopyPicture

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.

See also:

GM16GraphicsMBS.PathArcRel(c as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws an elliptical arc from the current point to (x, y).

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 GM16PathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

GM16GraphicsMBS.PathArcRel(c() as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws an elliptical arc from the current point to (x, y).

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 GM16PathArgsMBS, set the following properties: radiusX, radiusY, xAxisRotation, bool largeArcFlag, sweepFlag, x and y.

See also:

GM16GraphicsMBS.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 iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Draws an elliptical arc from the current point to (x, y).

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.

See also:

GM16GraphicsMBS.PathClosePath

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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).

GM16GraphicsMBS.PathCurvetoAbs(c as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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 GM16PathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

GM16GraphicsMBS.PathCurvetoAbs(c() as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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 GM16PathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

GM16GraphicsMBS.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 iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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.

See also:

GM16GraphicsMBS.PathCurvetoRel(c as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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 GM16PathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

GM16GraphicsMBS.PathCurvetoRel(c() as GM16PathArgsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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 GM16PathArgsMBS object, set the following properties: x1, y1, x2, y2, x and y.

See also:

GM16GraphicsMBS.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 iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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.

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.

See also:

GM16GraphicsMBS.PathLinetoAbs(c as GM16CoordinateMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The various "lineto" commands draw straight lines from the current point to a new point.

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.

See also:

GM16GraphicsMBS.PathLinetoAbs(c() as GM16CoordinateMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The various "lineto" commands draw straight lines from the current point to a new point.

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.

See also:

GM16GraphicsMBS.PathLinetoAbs(x as Double, y as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The various "lineto" commands draw straight lines from the current point to a new point.

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.

See also:

GM16GraphicsMBS.PathLinetoHorizontalAbs(v as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The various "lineto" commands draw straight lines from the current point to a new point.

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.

Next items

The items on this page are in the following plugins: MBS GraphicsMagick Plugin.


The biggest plugin in space...