C# Class QuickFont.QFontKerningConfiguration

Afficher le fichier Open project: Pireax/neovim.cs Class Usage Examples

Méthodes publiques

Свойство Type Description
alphaEmptyPixelTolerance byte

Méthodes publiques

Méthode Description
BatchSetCharacterKerningRule ( String chars, CharacterKerningRule rule ) : void

Sets all characters in the given string to the specified kerning rule.

GetCharacterKerningRule ( char c ) : CharacterKerningRule
GetOverridingCharacterKerningRuleForPair ( String str ) : CharacterKerningRule

Given a pair of characters, this will return the overriding CharacterKerningRule.

QFontKerningConfiguration ( ) : System
SetCharacterKerningRule ( char c, CharacterKerningRule rule ) : void

Sets the specified character kerning rule.

Method Details

BatchSetCharacterKerningRule() public méthode

Sets all characters in the given string to the specified kerning rule.
public BatchSetCharacterKerningRule ( String chars, CharacterKerningRule rule ) : void
chars String
rule CharacterKerningRule
Résultat void

GetCharacterKerningRule() public méthode

public GetCharacterKerningRule ( char c ) : CharacterKerningRule
c char
Résultat CharacterKerningRule

GetOverridingCharacterKerningRuleForPair() public méthode

Given a pair of characters, this will return the overriding CharacterKerningRule.
public GetOverridingCharacterKerningRuleForPair ( String str ) : CharacterKerningRule
str String
Résultat CharacterKerningRule

QFontKerningConfiguration() public méthode

public QFontKerningConfiguration ( ) : System
Résultat System

SetCharacterKerningRule() public méthode

Sets the specified character kerning rule.
public SetCharacterKerningRule ( char c, CharacterKerningRule rule ) : void
c char
rule CharacterKerningRule
Résultat void

Property Details

alphaEmptyPixelTolerance public_oe property

When measuring the bounds of glyphs, and performing kerning calculations, this is the minimum alpha level that is necessray for a pixel to be considered non-empty. This should be set to a value on the range [0,255]
public byte alphaEmptyPixelTolerance
Résultat byte