# GimpUi.Preview.prototype.draw

    function draw(): void {
        // Gjs wrapper for gimp_preview_draw()
    }

Calls the GimpPreview::draw method. GimpPreview itself doesn't implement a default draw method so the behavior is determined by the derived class implementing this method.

GimpUi.DrawablePreview implements GimpUi.Preview.prototype.draw by drawing the original, unmodified drawable to the preview.

Since 2.2