C# Класс SadConsole.Font

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

Private Properties

Свойство Тип Описание
AfterDeserialized void
Font System
Font System
Initialize void

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

Метод Описание
GetRenderRect ( int x, int y ) : Rectangle
ResizeGraphicsDeviceManager ( GraphicsDeviceManager manager, int width, int height, int additionalWidth, int additionalHeight ) : void

Resizes the graphics device manager based on this font's glyph size.

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

Метод Описание
AfterDeserialized ( System context ) : void
Font ( ) : System
Font ( FontMaster masterFont, FontSizes fontMultiple ) : System
Initialize ( FontMaster masterFont, FontSizes fontMultiple ) : void

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

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

public GetRenderRect ( int x, int y ) : Rectangle
x int
y int
Результат Microsoft.Xna.Framework.Rectangle

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

Resizes the graphics device manager based on this font's glyph size.
public ResizeGraphicsDeviceManager ( GraphicsDeviceManager manager, int width, int height, int additionalWidth, int additionalHeight ) : void
manager GraphicsDeviceManager Graphics device manager to resize.
width int The width glyphs.
height int The height glyphs.
additionalWidth int Additional pixel width to add to the resize.
additionalHeight int Additional pixel height to add to the resize.
Результат void