C# Класс Sharpex2D.Rendering.DirectX11.DirectXFont

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

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

Метод Описание
DirectXFont ( Typeface typeface ) : SharpDX.DirectWrite

Initializes a new DirectXFont.

GetFont ( ) : SharpDX.DirectWrite.TextFormat

Gets the Font.

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

Метод Описание
GetFontStyleFromTypeface ( ) : FontStyle

Converts the Typeface style into a FontStyle.

GetWeightFromTypeface ( ) : FontWeight

Converts the Typeface style into a FontWeight.

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

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

Initializes a new DirectXFont.
public DirectXFont ( Typeface typeface ) : SharpDX.DirectWrite
typeface Typeface The Typeface
Результат SharpDX.DirectWrite

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

Gets the Font.
public GetFont ( ) : SharpDX.DirectWrite.TextFormat
Результат SharpDX.DirectWrite.TextFormat