Class Font
Base class for fonts.
Namespace: Cosmos.System.Graphics.Fonts
Assembly: Cosmos.System2.dll
Syntax
public abstract class Font : object
Constructors
| Improve this Doc View SourceFont(Byte, Byte, Byte[])
Declaration
public Font(byte aWidth, byte aHeight, byte[] aData)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | aWidth | |
System.Byte | aHeight | |
System.Byte[] | aData |
Properties
| Improve this Doc View SourceData
Get font pure data.
Declaration
public byte[] Data { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Height
Get font height.
Declaration
public byte Height { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Width
Get font Width.
Declaration
public byte Width { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Methods
| Improve this Doc View SourceConvertByteToBitAddres(Byte, Int32)
Used to draw font.
Declaration
public bool ConvertByteToBitAddres(byte byteToConvert, int bitToReturn)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | byteToConvert | byteToConvert |
System.Int32 | bitToReturn | bitToReturn |
Returns
Type | Description |
---|---|
System.Boolean |