Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
CrazedProgrammer
Surface2
Repository navigation
Code
Issues
Pull requests
1
(1)
Actions
Projects
Wiki
Security and quality
Insights
More
items
surface.create
Jump to bottom
CrazedProgrammer edited this page
Apr 23, 2017
·
4 revisions
surface.create(width, height[, b, t, c])
width, height
(int)
Size of the surface
b, t, c
(colour)
Colour that the surface is filled with
Creates a new surface and returns it.
Wiki pages
Pages
33
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Concepts
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:clear
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:copy
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawArc
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawEllipse
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawLine
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawPixel
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawRect
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawString
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawSurface
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawSurfaceRotated
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawSurfacesInterlaced
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawSurfaceSmall
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawText
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:drawTriangle
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:fillArc
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:fillEllipse
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:fillRect
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:fillTriangle
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:flip
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:map
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:output
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:pop
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:push
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:save
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:shift
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:toPalette
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surf:toRGB
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surface.create
surface.create(width, height[, b, t, c])
Loading
surface.getTextSize
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surface.load
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
surface.loadFont
Uh oh!
There was an error while loading.
Please reload this page
.
Show 18 more pages…
Clone this wiki locally
You can’t perform that action at this time.