This is the class the defines and handles the screen graphics. It manages the double buffering for flickerless
animation. It also handles the drawing styles.

C# | Visual Basic | Visual Basic Usage | Visual C++ | J# | JScript |
public class GraphicsDevice
Public Class GraphicsDevice
Dim instance As GraphicsDevice
public ref class GraphicsDevice
public class GraphicsDevice
public class GraphicsDevice
TenneySoftware.Graphics.GraphicsDevice = function(); Type.createClass( 'TenneySoftware.Graphics.GraphicsDevice');

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | GraphicsDevice(Control) |
This is the constuctor for instantiating the device.
|
![]() | BackgroundColor |
Gets or sets the background color for the drawing surface.
|
![]() | ClearBackground()()() |
This is the method called to clear the background with the defined
color.
|
![]() | DeviceBuffer |
Gets the buffer to use for the double buffering.
|
![]() | Draw()()() |
This is the method called to draw the buffer to the form.
|
![]() | SmoothMode(SmoothingMode) |
Sets the method of drawing the objects onto screen.
This is set to default, unless changed by user. Anti-aliasing is set here.
|

Object | |
![]() | GraphicsDevice |