Class HTMLGraphicsEnvironment

java.lang.Object
java.awt.GraphicsEnvironment
nl.tudelft.simulation.dsol.web.animation.HTMLGraphicsEnvironment

public class HTMLGraphicsEnvironment
extends java.awt.GraphicsEnvironment
HTMLGraphicsEnvironment.java.

Copyright (c) 2003-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Author:
Alexander Verbraeck
  • Constructor Summary

    Constructors 
    Constructor Description
    HTMLGraphicsEnvironment()  
  • Method Summary

    Modifier and Type Method Description
    java.awt.Graphics2D createGraphics​(java.awt.image.BufferedImage img)
    java.awt.Font[] getAllFonts()
    java.lang.String[] getAvailableFontFamilyNames()
    java.lang.String[] getAvailableFontFamilyNames​(java.util.Locale l)
    java.awt.GraphicsDevice getDefaultScreenDevice()
    java.awt.GraphicsDevice[] getScreenDevices()

    Methods inherited from class java.awt.GraphicsEnvironment

    getCenterPoint, getLocalGraphicsEnvironment, getMaximumWindowBounds, isHeadless, isHeadlessInstance, preferLocaleFonts, preferProportionalFonts, registerFont

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getScreenDevices

      public java.awt.GraphicsDevice[] getScreenDevices() throws java.awt.HeadlessException
      Specified by:
      getScreenDevices in class java.awt.GraphicsEnvironment
      Throws:
      java.awt.HeadlessException
    • getDefaultScreenDevice

      public java.awt.GraphicsDevice getDefaultScreenDevice() throws java.awt.HeadlessException
      Specified by:
      getDefaultScreenDevice in class java.awt.GraphicsEnvironment
      Throws:
      java.awt.HeadlessException
    • createGraphics

      public java.awt.Graphics2D createGraphics​(java.awt.image.BufferedImage img)
      Specified by:
      createGraphics in class java.awt.GraphicsEnvironment
    • getAllFonts

      public java.awt.Font[] getAllFonts()
      Specified by:
      getAllFonts in class java.awt.GraphicsEnvironment
    • getAvailableFontFamilyNames

      public java.lang.String[] getAvailableFontFamilyNames()
      Specified by:
      getAvailableFontFamilyNames in class java.awt.GraphicsEnvironment
    • getAvailableFontFamilyNames

      public java.lang.String[] getAvailableFontFamilyNames​(java.util.Locale l)
      Specified by:
      getAvailableFontFamilyNames in class java.awt.GraphicsEnvironment