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

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

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

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

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

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

TextSurfaceRenderer ( ) : System

Creates a new renderer.

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

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

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

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

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

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

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

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

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