C# Класс SadConsole.Consoles.ControlsConsoleRenderer

Наследование: ITextSurfaceRenderer
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CallBatchEnd bool

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AfterDeserialized ( StreamingContext context ) : void

Описание методов

ControlsConsoleRenderer() публичный Метод

Creates a new renderer.
public ControlsConsoleRenderer ( ) : System
Результат System

GetPositionTransform() публичный Метод

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
Результат Matrix

Render() публичный Метод

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.
Результат void

Render() публичный Метод

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.
Результат void

Описание свойств

CallBatchEnd публичное свойство

public bool CallBatchEnd
Результат bool