Свойство | Type | Description | |
---|---|---|---|
BackBrush | |||
ForeBrush | BufferBrush | ||
Location | Point |
Méthode | Description | |
---|---|---|
Draw ( ConsoleBuffer buffer, Alignment alignment = Alignment.Left ) : void |
Draws the display to the specified buffer.
|
|
SevenSegmentDisplay ( Point location, int digits, int value ) : System |
Initializes a new instance of the StdPaint.DigitDisplay class with the specified location and value.
|
Méthode | Description | |
---|---|---|
Update ( ) : void |
public Draw ( ConsoleBuffer buffer, Alignment alignment = Alignment.Left ) : void | ||
buffer | ConsoleBuffer | The buffer to draw to. |
alignment | Alignment | The alignment of the display to the draw position. |
Résultat | void |
public SevenSegmentDisplay ( Point location, int digits, int value ) : System | ||
location | Point | The location of the display. |
digits | int | The minimum number of digits to display. |
value | int | The value of the display. |
Résultat | System |