Platforms to show: All Mac Windows Linux Cross-Platform

Graphics class

Type Topic Version
class Graphics & Pictures
Extends Xojo's Graphics Class.

This class has no sub classes.

See also in the Xojo Language Reference

Some methods using this class:

Some properties using for this class:

Some events using this class:

Release notes

  • Version 24.2
    • Fixed a problem with translate method in Graphics class when used with DynaPDF.
    • Added NextPage(width, height) support for graphics class in DynaPDF.
    • Added handling of MiterLimit property for using graphics class in DynaPDF.
  • Version 22.4
    • Fixed picture and graphics handling bug for Windows ARM.
  • Version 22.2
    • Adjusted how we calculate character spacing for graphics in DynaPDFMBS, so we match better what Xojo does.
    • Changed ClearPageGraphics in DynaPDFMBS to clear last font, so next time you draw to graphics, we set it again.
  • Version 22.0
    • Fixed a problem in Graphics class with DynaPDFMBS where in some case the font was not set and DynaPDF reported an error about missing font.
  • Version 21.4
    • Fixed Graphics.DrawString to better draw condensed text for DynaPDFMBS class.
  • Version 21.2
  • Version 21.1
    • Fixed issue with Graphics.TextHeight for DynaPDFMBS class.
    • Fixed problem in DynaPDFMBS class with graphics, where we reset font to default one on nextpage call.
  • Version 20.5
    • Added support for LineDash, LineJoin and LineCap to DynaPDFMBS class for graphics support.
    • Fixed DrawRectangle function for graphics in DynaPDFMBS class to work on Windows.
  • Version 20.3
    • Added ClearRectangle and FillPath method support for Graphics class in DynaPDFMBS class.
    • Added new constructor for CGContextMBS class accepting graphics object.

The items on this page are in the following plugins: MBS MacCG Plugin, MBS Picture Plugin, MBS Util Plugin, MBS Win Plugin.


GMUnsupportedExceptionMBS   -   GroupBox


The biggest plugin in space...