Java Graphics Draw drawFrank(Graphics g, int x, int y)

Here you can find the source of drawFrank(Graphics g, int x, int y)

Description

draw Frank

License

LGPL

Declaration

public static void drawFrank(Graphics g, int x, int y) 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import java.awt.Color;

import java.awt.Font;
import java.awt.Graphics;

public class Main {
    public static void drawFrank(Graphics g, int x, int y) {
        g.setFont(new Font("Arial", Font.BOLD, 12));
        g.setColor(Color.gray);/* ww w. ja v a2  s . c  o m*/
        String s = "Quantum Workbench";
        g.drawString(s, x + 1, y - 1);
        g.drawString(s, x + 1, y + 1);
        g.drawString(s, x - 1, y - 1);
        g.drawString(s, x - 1, y + 1);
        g.setColor(Color.white);
        g.drawString(s, x, y);
    }
}

Related

  1. drawFilledOctagon(Graphics2D g, int x, int y, float size)
  2. drawFilter(Graphics g, Color c, double transparency, int midx, int midy, int rx, int ry)
  3. drawFleche1(Graphics g, double x, double y, double x1, double y1, int L)
  4. drawFocus(Graphics g, int x, int y, int w, int h)
  5. drawFocus(Graphics2D g2, int iX, int iY, int iWidth, int iHeight)
  6. drawGatter(Graphics g, int xDist, int yDist)
  7. drawGlow(Graphics2D g2, Area area, double width, Color color)
  8. drawGroove(Graphics g, int x, int y, int w, int h, Color shadow, Color highlight)
  9. drawGroove(Graphics g, int x, int y, int width, int height, Color shadow, Color highlight)