Skip to content

Sl2Format Class ​

Definition ​

Native SL2 screen format with an explicitly selected mode.

c#
public sealed class Sl2Format : ImageFormat<Sl2File>

View source

Fields ​

NameDescription
HighResolution640 by 256 four-bit screens.
StandardThe standard screen mode.
Wide320 by 256 eight-bit screens.

Properties ​

NameDescription
BitsPerPixelGets the native bit depth.
HeightGets the native height.
WidthGets the native width.

Methods ​

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