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 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.
  • Version 20.2
    • Added ClearRectMode to DynaPDFMBS class to ignore calls to Graphics.ClearRect and allow background to show.
    • Added implementation for DrawPath in Graphics class. Raises exception if path is not of class DynapdfGraphicsPathMBS.
    • Added TextShape class support for Object2D drawing with DynaPDFMBS class's graphics integration.
    • Changed DynaPDF Graphics to use PenSize property for Xojo 2019r2 or newer.
    • Corrected alignment issues for TextShape/StringShape class handling with DynaPDFMBS class's graphics integration.

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...