Einhugur macOS Bridge plugin.

NSImage.Draw Method

Draws the NSImage into Xojo Graphics object at given x,y location.

Draw(
   g as Graphics,
   x as Double,
   y as Double)

Parameters

g
The Xojo graphics object to draw into.
x
The x location to draw the image at.
y
The y location to draw the image at.

Remarks

Image is drawn at default size. If wanting to for example draw icon in other size then using the Draw override that also takes in Width and Height.

See Also

NSImage Class