A TenneySoftware Class Library
GraphicsDevice Class
NamespacesTenneySoftware.GraphicsGraphicsDevice
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.
Declaration Syntax
C#Visual BasicVisual Basic UsageVisual 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');
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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.

Inheritance Hierarchy
Object
GraphicsDevice

Assembly: TenneySoftware (Module: TenneySoftware) Version: 0.0.3067.16853 (0.1.0.0)