The OpenD Programming Language

Gradient

Undocumented in source.
version(!OSXCocoa)
abstract
class Gradient : Sprite {}

Members

Structs

Stop
struct Stop

Inherited Members

From Sprite

draw
ScreenPainter draw()
takeScreenshot
TrueColorImage takeScreenshot()

Copies the sprite's current state into a TrueColorImage.

drawAt
void drawAt(ScreenPainter painter, Point where, Point imageUpperLeft, Size sliceSize)

Draws the image on the specified painter at the specified point. The point is the upper-left point where the image will be drawn.

dispose
void dispose()

Call this when you're ready to get rid of it

width
int width [@property getter]
height
int height [@property getter]
fromMemoryImage
Sprite fromMemoryImage(SimpleWindow win, MemoryImage img, bool enableAlpha)

Meta