C# Класс QuickFont.QFontShadowConfiguration

The configuration used when building a font drop shadow.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ForcePowerOfTwo bool
GlyphMargin int
PageHeight int
PageWidth int
Scale float
blurPasses int
blurRadius int

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

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

Whether to force texture pages to use a power of two.
public bool ForcePowerOfTwo
Результат bool

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

The margin (on all sides) around glyphs when rendered to their texture page. Note this is in addition to 3xblurRadius margin which is automatically added.
public int GlyphMargin
Результат int

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

The standard height of texture pages (the page will automatically be cropped if there is extra space)
public int PageHeight
Результат int

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

The standard width of texture pages (the page will automatically be cropped if there is extra space)
public int PageWidth
Результат int

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

Scale in relation to the actual font glyphs
public float Scale
Результат float

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

Number of blur passes. Caution: high values will greatly impact the time it takes to build a font shadow
public int blurPasses
Результат int

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

The blur radius. Caution: high values will greatly impact the time it takes to build a font shadow
public int blurRadius
Результат int