Platforms to show: All Mac Windows Linux Cross-Platform

### GMGraphicsMBS class

Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |

class | GraphicsMagick | MBS GraphicsMagick Plugin | 10.2 | Yes | Yes | Yes | Yes | No |

**Function:**The class for drawing commands targeting a GMImageMBS.

**Notes:**Please remember that all commands are collected till you call the Draw method.

- property Image as GMImageMBS
- 103 methods
- method Arc(startX as Double, startY as Double, endX as Double, endY as Double, startDegrees as Double, endDegrees as Double)
- method Bezier(values() as GMCoordinateMBS)
- method Circle(originX as Double, originY as Double, perimX as Double, perimY as Double)
- method ClipPath(id as string)
- method ColorPixel(x as Double, y as Double, paintMethod as Integer)
- method CompositeImage(x as Double, y as Double, file as folderitem)
- method CompositeImage(x as Double, y as Double, image as GMImageMBS)
- method CompositeImage(x as Double, y as Double, path as string)
- method CompositeImage(x as Double, y as Double, w as Double, h as Double, file as folderitem)
- method CompositeImage(x as Double, y as Double, w as Double, h as Double, file as folderitem, CompositeOperator as Integer)
- method CompositeImage(x as Double, y as Double, w as Double, h as Double, image as GMImageMBS)
- method CompositeImage(x as Double, y as Double, w as Double, h as Double, image as GMImageMBS, CompositeOperator as Integer)
- method CompositeImage(x as Double, y as Double, w as Double, h as Double, path as string)
- method CompositeImage(x as Double, y as Double, w as Double, h as Double, path as string, CompositeOperator as Integer)
- method Constructor(image as GMImageMBS)
- method DashArray(values() as Double)
- method DashOffset(offset as Double)
- method Draw
- method DrawPath
- method Ellipse(originX as Double, originY as Double, perimX as Double, perimY as Double, arcStart as Double, arcEnd as Double)
- method FillColor(c as GMColorMBS)
- method FillOpacity(opacity as Double)
- method FillRule(fillRule as Integer)
- method Font(fontname as string)
- method Font(fontname as string, StyleType as Integer, weight as Integer, StretchType as Integer)
- method Gravity(GravityType as Integer)
- method Line(startX as Double, startY as Double, endX as Double, endY as Double)
- method Matte(x as Double, y as Double, paintMethod as Integer)
- method MiterLimit(miterlimit as Integer)
- method PathArcAbs(c as GMPathArgsMBS)
- method PathArcAbs(c() as GMPathArgsMBS)
- method PathArcAbs(radiusX as Double, radiusY as Double, xAxisRotation as Double, largeArcFlag as boolean, sweepFlag as Boolean, x as Double, y as Double)
- method PathArcRel(c as GMPathArgsMBS)
- method PathArcRel(c() as GMPathArgsMBS)
- method PathArcRel(radiusX as Double, radiusY as Double, xAxisRotation as Double, largeArcFlag as boolean, sweepFlag as Boolean, x as Double, y as Double)
- method PathClosePath
- method PathCurvetoAbs(c as GMPathArgsMBS)
- method PathCurvetoAbs(c() as GMPathArgsMBS)
- method PathCurvetoAbs(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x as Double, y as Double)
- method PathCurvetoRel(c as GMPathArgsMBS)
- method PathCurvetoRel(c() as GMPathArgsMBS)
- method PathCurvetoRel(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x as Double, y as Double)
- method PathLinetoAbs(c as GMCoordinateMBS)
- method PathLinetoAbs(c() as GMCoordinateMBS)
- method PathLinetoAbs(x as Double, y as Double)
- method PathLinetoHorizontalAbs(v as Double)
- method PathLinetoHorizontalRel(v as Double)
- method PathLinetoRel(c as GMCoordinateMBS)
- method PathLinetoRel(c() as GMCoordinateMBS)
- method PathLinetoRel(x as Double, y as Double)
- method PathLinetoVerticalAbs(v as Double)
- method PathLinetoVerticalRel(v as Double)
- method PathMovetoAbs(c as GMCoordinateMBS)
- method PathMovetoAbs(x as Double, y as Double)
- method PathMovetoRel(c as GMCoordinateMBS)
- method PathMovetoRel(x as Double, y as Double)
- method PathQuadraticCurvetoAbs(c as GMPathArgsMBS)
- method PathQuadraticCurvetoAbs(c() as GMPathArgsMBS)
- method PathQuadraticCurvetoAbs(x1 as Double, y1 as Double, x as Double, y as Double)
- method PathQuadraticCurvetoRel(c as GMPathArgsMBS)
- method PathQuadraticCurvetoRel(c() as GMPathArgsMBS)
- method PathQuadraticCurvetoRel(x1 as Double, y1 as Double, x as Double, y as Double)
- method PathSmoothCurvetoAbs(c as GMCoordinateMBS)
- method PathSmoothCurvetoAbs(c() as GMCoordinateMBS)
- method PathSmoothCurvetoAbs(x as Double, y as Double)
- method PathSmoothCurvetoRel(c as GMCoordinateMBS)
- method PathSmoothCurvetoRel(c() as GMCoordinateMBS)
- method PathSmoothCurvetoRel(x as Double, y as Double)
- method PathSmoothQuadraticCurvetoAbs(c as GMCoordinateMBS)
- method PathSmoothQuadraticCurvetoAbs(c() as GMCoordinateMBS)
- method PathSmoothQuadraticCurvetoAbs(x as Double, y as Double)
- method PathSmoothQuadraticCurvetoRel(c as GMCoordinateMBS)
- method PathSmoothQuadraticCurvetoRel(c() as GMCoordinateMBS)
- method PathSmoothQuadraticCurvetoRel(x as Double, y as Double)
- method Point(x as Double, y as Double)
- method PointSize(pointSize as Double)
- method Polygon(values() as GMCoordinateMBS)
- method Polyline(values() as GMCoordinateMBS)
- method PopClipPath
- method PopGraphicContext
- method PopPattern
- method PushClipPath(id as string)
- method PushGraphicContext
- method PushPattern(id as string, x as Integer, y as Integer, width as Integer, height as Integer)
- method Rectangle(upperLeftX as Double, upperLeftY as Double, lowerRightX as Double, lowerRightY as Double)
- method Rotation(angle as Double)
- method RoundRectangle(centerX as Double, centerY as Double, width as Double, height as Double, cornerWidth as Double, cornerHeight as Double)
- method Scaling(x as Double, y as Double)
- method SkewX(angle as Double)
- method SkewY(angle as Double)
- method StrokeAntialias(flag as boolean)
- method StrokeColor(c as GMColorMBS)
- method StrokeLineCap(LineCap as Integer)
- method StrokeLineJoin(LineJoin as Integer)
- method StrokeOpacity(opacity as Double)
- method StrokeWidth(opacity as Double)
- method Text(x as Double, y as Double, text as string)
- method Text(x as Double, y as Double, text as string, encoding as string)
- method TextAntialias(flag as boolean)
- method TextDecoration(DecorationType as Integer)
- method TextUnderColor(c as GMColorMBS)
- method Translation(x as Double, y as Double)
- method Viewbox(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)

This class has no sub classes.

#### Some methods using this class:

- GMImageMBS.Graphics as GMGraphicsMBS

#### Some examples which use this class:

- /GraphicsMagick/alpha test
- /GraphicsMagick/Console Text Drawing/Draw text in Console
- /GraphicsMagick/Draw
- /GraphicsMagick/Draw dash pattern

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

Links

MBS Xojo Chart Plugins