Platforms to show: All Mac Windows Linux Cross-Platform
Back to GM16GraphicsMBS class.
GM16GraphicsMBS.SkewY(angle as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.StrokeAntialias(flag as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.StrokeColor(c as GM16ColorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.StrokeLineCap(LineCap as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.
GM16GraphicsMBS.StrokeLineJoin(LineJoin as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.
GM16GraphicsMBS.StrokeOpacity(opacity as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.StrokeWidth(opacity as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.Text(x as Double, y as Double, text as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If text contains special format characters the image filename, type, width, height, or other image attributes may be incorporated in the text (see label).
See also:
GM16GraphicsMBS.Text(x as Double, y as Double, text as string, encoding as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If text contains special format characters the image filename, type, width, height, or other image attributes may be incorporated in the text (see label()).
The text encoding specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "UTF-8" for representing Unicode as a sequence of bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.
Seems like you need ghostscript or the DPS library for text handling, so it may no be available for you.
See also:
GM16GraphicsMBS.TextAntialias(flag as boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The main reason to disable text antialiasing is to avoid adding new colors to the image.
GM16GraphicsMBS.TextDecoration(DecorationType as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.TextUnderColor(c as GM16ColorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GM16GraphicsMBS.Translation(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 |
GM16GraphicsMBS.Viewbox(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the image is to be written to a vector format (e.g. MVG or SVG), then a PushGraphicContext() object should be pushed to the head of the list, followed by a Viewbox() statement to establish the output canvas size. A matching PopGraphicContext() object should be pushed to the tail of the list.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.