Class VGACanvas
Defines a VGA canvas implementation.
Inheritance
System.Object
VGACanvas
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.System2.dll
Syntax
public class VGACanvas : Canvas
Constructors
|
Improve this Doc
View Source
VGACanvas()
Initializes a new instance of the VGACanvas class
with the default display mode.
Declaration
|
Improve this Doc
View Source
VGACanvas(Mode)
Initializes a new instance of the VGACanvas class
with the given display mode.
Declaration
public VGACanvas(Mode mode)
Parameters
Type |
Name |
Description |
Mode |
mode |
|
Properties
|
Improve this Doc
View Source
AvailableModes
Declaration
public override List<Mode> AvailableModes { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Mode> |
|
Overrides
|
Improve this Doc
View Source
DefaultGraphicsMode
Declaration
public override Mode DefaultGraphicsMode { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Enabled
Whether the canvas is active, and the display is currently in VGA
graphics mode.
Declaration
public bool Enabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Mode
Declaration
public override Mode Mode { get; set; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Clear(Color)
Declaration
public override void Clear(Color aColor)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
aColor |
|
Overrides
|
Improve this Doc
View Source
Clear(Int32)
Declaration
public override void Clear(int aColor)
Parameters
Type |
Name |
Description |
System.Int32 |
aColor |
|
Overrides
|
Improve this Doc
View Source
Disable()
Declaration
public override void Disable()
Overrides
|
Improve this Doc
View Source
Display()
Declaration
public override void Display()
Overrides
|
Improve this Doc
View Source
DrawFilledRectangle(Color, Int32, Int32, Int32, Int32, Boolean)
Declaration
public override void DrawFilledRectangle(Color aColor, int aXStart, int aYStart, int aWidth, int aHeight, bool preventOffBoundPixels = true)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
aColor |
|
System.Int32 |
aXStart |
|
System.Int32 |
aYStart |
|
System.Int32 |
aWidth |
|
System.Int32 |
aHeight |
|
System.Boolean |
preventOffBoundPixels |
|
Overrides
|
Improve this Doc
View Source
DrawPoint(Color, Int32, Int32)
Declaration
public override void DrawPoint(Color aColor, int aX, int aY)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
aColor |
|
System.Int32 |
aX |
|
System.Int32 |
aY |
|
Overrides
|
Improve this Doc
View Source
DrawPoint(Int32, Int32, Int32)
Declaration
public override void DrawPoint(int aColor, int aX, int aY)
Parameters
Type |
Name |
Description |
System.Int32 |
aColor |
|
System.Int32 |
aX |
|
System.Int32 |
aY |
|
Overrides
|
Improve this Doc
View Source
DrawPoint(UInt32, Int32, Int32)
Declaration
public override void DrawPoint(uint aColor, int aX, int aY)
Parameters
Type |
Name |
Description |
System.UInt32 |
aColor |
|
System.Int32 |
aX |
|
System.Int32 |
aY |
|
Overrides
|
Improve this Doc
View Source
DrawRectangle(Color, Int32, Int32, Int32, Int32)
Declaration
public override void DrawRectangle(Color color, int x, int y, int width, int height)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
color |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
Overrides
|
Improve this Doc
View Source
GetPointColor(Int32, Int32)
Declaration
public override Color GetPointColor(int aX, int aY)
Parameters
Type |
Name |
Description |
System.Int32 |
aX |
|
System.Int32 |
aY |
|
Returns
Type |
Description |
System.Drawing.Color |
|
Overrides
|
Improve this Doc
View Source
GetRawPointColor(Int32, Int32)
Declaration
public override int GetRawPointColor(int aX, int aY)
Parameters
Type |
Name |
Description |
System.Int32 |
aX |
|
System.Int32 |
aY |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Name()
Declaration
public override string Name()
Returns
Type |
Description |
System.String |
|
Overrides