Python Forum
new and looking for specific type of help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new and looking for specific type of help
#5
#the size of the display is set here by naming the built in function "size" and
#setting the parameters of the resolution within the () separated by a comma
#to distinguish the difference between the x and y axis
#common size resolutions are (800, 600) (1280,720) (1600, 900)
size(640, 360);
#the background function sets...??? care to finish?
#it seems a bit beyond my reach, as of yet. it is like writing a public text book though.
background(0);
noStroke();
# i dont know what createFont is or how to use it. is SourceCodePro-Regular.ttf something that comes standard in the py library?
#or do i need to download the Qt library? maybe scintilla? or autopygui or pygame to use that particular ttf file?
textFont(createFont("SourceCodePro-Regular.ttf",24));
Reply


Messages In This Thread
RE: new and looking for specific type of help - by defenderofthebit - Aug-30-2017, 11:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  search a list or tuple for a specific type ot class Skaperen 8 2,181 Jul-22-2022, 10:29 PM
Last Post: Skaperen
  Type hinting - return type based on parameter micseydel 2 2,619 Jan-14-2020, 01:20 AM
Last Post: micseydel
  Delete specific lines contain specific words mannyi 2 4,304 Nov-04-2019, 04:50 PM
Last Post: mannyi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020