Sign in to follow this  

[java] Nice outline font in java

Recommended Posts

Do anyone know how to do nice outline font in java like the one you can see in for instance flash and photoshop. Currently I'm using something like this:
    if (outline)
        m_g2d.drawString(text, -1, 0);
        m_g2d.drawString(text, 1, 0);
        m_g2d.drawString(text, 0, -1);
        m_g2d.drawString(text, 0, 1);

    m_g2d.drawString(text, 0, 0);

I have also tried approaches similar to this: But neither produces a nice and clean outline text. Lizard

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this