Class G2DCanvasFactory

java.lang.Object
org.scilab.forge.scirenderer.implementation.g2d.G2DCanvasFactory

public final class G2DCanvasFactory extends Object
Author:
Pierre Lando
  • Method Details

    • createCanvas

      public static G2DCanvas createCanvas(Graphics2D g2d, int width, int height)
      Create a canvas from an auto drawable object.
      Parameters:
      autoDrawable - the auto drawable object.
      Returns:
      a canvas based on the given auto drawable object.