C# Class SadConsole.Consoles.ControlsConsoleRenderer

Inheritance: ITextSurfaceRenderer
Afficher le fichier Open project: Thraka/SadConsole Class Usage Examples

Méthodes publiques

Свойство Type Description
CallBatchEnd bool

Méthodes publiques

Méthode Description
ControlsConsoleRenderer ( ) : System

Creates a new renderer.

GetPositionTransform ( Point position, Point CellSize, bool absolutePositioning ) : Matrix

Gets the Matrix transform that positions the console on the screen.

Render ( ITextSurfaceRendered surface, Matrix renderingMatrix ) : void

Renders a surface to the screen.

Render ( ITextSurfaceRendered surface, Point position, bool usePixelPositioning = false ) : void

Renders a surface to the screen.

Private Methods

Méthode Description
AfterDeserialized ( StreamingContext context ) : void

Method Details

ControlsConsoleRenderer() public méthode

Creates a new renderer.
public ControlsConsoleRenderer ( ) : System
Résultat System

GetPositionTransform() public méthode

Gets the Matrix transform that positions the console on the screen.
public GetPositionTransform ( Point position, Point CellSize, bool absolutePositioning ) : Matrix
position Point
CellSize Point
absolutePositioning bool
Résultat Matrix

Render() public méthode

Renders a surface to the screen.
public Render ( ITextSurfaceRendered surface, Matrix renderingMatrix ) : void
surface ITextSurfaceRendered The surface to render.
renderingMatrix Matrix Display matrix for the rendered console.
Résultat void

Render() public méthode

Renders a surface to the screen.
public Render ( ITextSurfaceRendered surface, Point position, bool usePixelPositioning = false ) : void
surface ITextSurfaceRendered The surface to render.
position Point Calculates the rendering position on the screen based on the size of the parameter.
usePixelPositioning bool Ignores the font for positioning and instead treats the parameter in pixels.
Résultat void

Property Details

CallBatchEnd public_oe property

public bool CallBatchEnd
Résultat bool