Copyright 2011-01-06 Werner Randelshofer

ch.randelshofer.gui.image
Class ClearType

java.lang.Object
  extended by ch.randelshofer.gui.image.ClearType

public class ClearType
extends java.lang.Object


Constructor Summary
ClearType()
           
 
Method Summary
static void drawClearType(java.awt.Graphics g, java.awt.Image img, int x, int y, int superY, java.awt.image.ImageObserver observer)
          Renders an image with clear type.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearType

public ClearType()
Method Detail

main

public static void main(java.lang.String[] args)

drawClearType

public static void drawClearType(java.awt.Graphics g,
                                 java.awt.Image img,
                                 int x,
                                 int y,
                                 int superY,
                                 java.awt.image.ImageObserver observer)
Renders an image with clear type. Note the width of the image must be divideable by 3.


Copyright 2011-01-06 Werner Randelshofer