Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Draw Text Outline method
#1
Draw Text Outline method
stupidstormy36
Mar 16 2008

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Again I do not know if someone else did this or not but I will post this anyway!

Place this in a new slot over Main:

Draw Text Outline Method


To call in a window script, use:

draw_text_outline(x, y, width, height, "string", alignment)
self.contents.font.color = normal_color # or your choice of color using Color.new(r,g,b,a)
self.contents.draw_text(x, y, width, height, "string", alignment)

x = x coordinate
y = y coordinate
width = width of text
height = height of text
string = string you're using
alignment = 0 = left 1 = centered 2 = right

You have to do the font color for the original text otherwise it will come out all black!

Hopefully this helps you guys too!

*EDIT* Did this help anyone? Or was it useless. Please reply if you need any help or have any tips.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  ATP(Advanced Text Paragrapher) Samo the thief 0 2,024 04-05-2007, 01:00 PM
Last Post: Samo the thief



Users browsing this thread: