Einhugur macOS Bridge plugin.

NSImage.Draw Method

Draws the NSImage into Xojo Graphics object at given x,y location, taking in additionally width and height parameters.

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

Parameters

g
The Xojo graphics object to draw into.
x
The x location to draw the image at.
y
The x location to draw the image at.
width
With of the drawn image.
Height
Height of the drawn image.

Remarks

See Also

NSImage Class