Jump to content

Hopps Outline text


Recommended Posts

Posted

Heres an outline text i made for paint.

 

void hoppsoutline(Graphics2D gfx, String text,int x, int y,Color colout, Color coltxt)
{
		
	gfx.setColor(colout);
	gfx.drawString(text, x - 1, y);			
	gfx.drawString(text, x + 1, y);			
	gfx.drawString(text, x , y - 1);		
	gfx.drawString(text, x , y + 1);
	gfx.setColor(coltxt);
	gfx.drawString(text, x , y);
}

 public void onPaint(Graphics2D gfx)
{
        hoppsoutline(gfx, "Auto Walker" , 10, 60, Color.RED, Color.WHITE);
}

https://imgur.com/a/v15V6Y4

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...