Legacy:Surface/navbox
From Spherical
<
Legacy:Surface
Jump to:
navigation
,
search
v
·
t
·
e
Surface
object API
Holds an off-screen canvas on which you can draw and manipulate image data
Surface
getters
CreateSurface
LoadSurface
GrabSurface
Surface.clone
Surface.cloneSection
Blitting/drawing surfaces
Unmasked
Surface.blit
Surface.blitSurface
Surface.blitImage
Surface.rotateBlitSurface
Surface.zoomBlitSurface
Surface.transformBlitSurface
Masked
Surface.blitMaskSurface
Surface.rotateBlitMaskSurface
Surface.zoomBlitMaskSurface
Surface.transformBlitMaskSurface
Manipulating surfaces
Transformation
Surface.rotate
Surface.resize
Surface.rescale
Surface.flipHorizontally
Surface.flipVertically
Color manipulation
Surface.setAlpha
Surface.setBlendMode
Surface.getPixel
Surface.setPixel
Surface.replaceColor
Surface.applyLookup
Surface.applyColorFX
Surface.applyColorFX4
Drawing primitives
onto surfaces
Outlined
Surface.pointSeries
Surface.line
Surface.lineSeries
Surface.bezierCurve
Surface.outlinedRectangle
Surface.outlinedEllipse
Surface.outlinedCircle
Filled
Surface.rectangle
Surface.triangle
Surface.polygon
Surface.filledEllipse
Surface.filledCircle
Gradient-filled
Surface.gradientLine
Surface.gradientRectangle
Surface.gradientTriangle
Surface.gradientCircle
Drawing text on surfaces
Surface.drawText
Surface.drawZoomedText
Surface.drawTextBox
Conversion
Surface.createImage
Surface.save
See also:
Image object
Font object
Categories
:
Functions
Navbox
Navigation menu
Personal tools
Log in
Namespaces
Legacy
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Using Sphere
Functions list
Scripts
Tutorials
Spherical Links
Site
Forums
Source
Facebook
Google+
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Cite this page