Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Way to add font stroke in paint?

Featured Replies

Is there a way to add a stroke around your font in a paint??

 

This is an example:

Untitled_1.png

  • Author

...thanks

Edited by computor

If you are truly stuck, there's a trick to achieving strokes and shadows in paint without any fancy stuff by drawing the text with the stroke color, then drawing the text again with a different color on top of it.

 

Usually, for shadows I just draw the text again with an offset of 1 pixel, so:

 

String msg = "Hello";

int x = 15, y = 15;

 

g.setColor(Color.BLACK);

drawString(msg, x + 1, y + 1);

g.setColor(Color.RED);

drawString(msg, x, y);

 

Thats for a basic shadow, however if you want a full stroke (like you mentioned in your thread) you must make additions to the above code so that it draws in every direction, not just + 1, example

 

drawString(msg, x + 1, y + 1);

drawString(msg, x, y + 1);
drawString(msg, x + 1, y);
 
however, from the looks of it, its drawing too many strings! So only use this if you are hopeless, it's really not that bad but its better than nothing.

Edited by Czar

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.