Sl2Format Class
Definition
Native SL2 screen format with an explicitly selected mode.
c#
public sealed class Sl2Format : ImageFormat<Sl2File>Fields
| Name | Description |
|---|---|
HighResolution | 640 by 256 four-bit screens. |
Standard | The standard screen mode. |
Wide | 320 by 256 eight-bit screens. |
Properties
| Name | Description |
|---|---|
BitsPerPixel | Gets the native bit depth. |
Height | Gets the native height. |
Width | Gets the native width. |
Methods
| Name | Description |
|---|---|
CreateConverters() | Creates the converters for this format. |
ForDimensions(Int32, Int32) | Selects an explicit Layer 2 screen mode. |
ReadAsync(IBinaryReader) | Reads a file from an IBinaryReader. |
WriteAsync(Sl2File, IBinaryWriter) | Writes a strongly typed resource file. |