Class VBECanvas
Defines a VBE (VESA Bios Extensions) canvas implementation. Please note that this implementation of Canvas only works on BIOS implementations, meaning that it is not available on UEFI systems.
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()
Namespace: Cosmos.System.Graphics
Assembly: Cosmos.System2.dll
Syntax
public class VBECanvas : Canvas
Constructors
| Improve this Doc View SourceVBECanvas()
Initializes a new instance of the VBECanvas class.
Declaration
public VBECanvas()
VBECanvas(Mode)
Initializes a new instance of the VBECanvas class.
Declaration
public VBECanvas(Mode mode)
Parameters
Type | Name | Description |
---|---|---|
Mode | mode | The display mode to use. |
Properties
| Improve this Doc View SourceAvailableModes
Available VBE supported video modes.
Low res:
- 320x240x32.
- 640x480x32.
- 800x600x32.
- 1024x768x32.
HD:
- 1280x720x32.
- 1280x1024x32.
HDR:
- 1366x768x32.
- 1680x1050x32.
HDTV:
- 1920x1080x32.
- 1920x1200x32.
Declaration
public override List<Mode> AvailableModes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Mode> |
Overrides
| Improve this Doc View SourceDefaultGraphicsMode
Declaration
public override Mode DefaultGraphicsMode { get; }
Property Value
Type | Description |
---|---|
Mode |
Overrides
| Improve this Doc View SourceMode
Declaration
public override Mode Mode { get; set; }
Property Value
Type | Description |
---|---|
Mode |
Overrides
Methods
| Improve this Doc View SourceClear(Color)
Declaration
public override void Clear(Color aColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | aColor |
Overrides
| Improve this Doc View SourceClear(Int32)
Declaration
public override void Clear(int aColor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | aColor |
Overrides
| Improve this Doc View SourceDisable()
Declaration
public override void Disable()
Overrides
| Improve this Doc View SourceDisplay()
Declaration
public override void Display()
Overrides
| Improve this Doc View SourceDrawArray(Color[], Int32, Int32, Int32, Int32)
Declaration
public override void DrawArray(Color[] aColors, int aX, int aY, int aWidth, int aHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color[] | aColors | |
System.Int32 | aX | |
System.Int32 | aY | |
System.Int32 | aWidth | |
System.Int32 | aHeight |
Overrides
| Improve this Doc View SourceDrawFilledRectangle(Color, Int32, Int32, Int32, Int32)
Declaration
public override void DrawFilledRectangle(Color aColor, int aX, int aY, int aWidth, int aHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | aColor | |
System.Int32 | aX | |
System.Int32 | aY | |
System.Int32 | aWidth | |
System.Int32 | aHeight |
Overrides
| Improve this Doc View SourceDrawImage(Image, Int32, Int32)
Declaration
public override void DrawImage(Image aImage, int aX, int aY)
Parameters
Type | Name | Description |
---|---|---|
Image | aImage | |
System.Int32 | aX | |
System.Int32 | aY |
Overrides
| Improve this Doc View SourceDrawPoint(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 SourceGetPointColor(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 SourceName()
Declaration
public override string Name()
Returns
Type | Description |
---|---|
System.String |