Table of Contents

Class FontExtensions

Namespace
Lime
Assembly
Lime.dll
public static class FontExtensions
Inheritance
FontExtensions
Inherited Members

Methods

MeasureTextLine(IFont, string, float, int, int, float)

public static Vector2 MeasureTextLine(this IFont font, string text, float fontHeight, int start, int length, float letterSpacing)

Parameters

font IFont
text string
fontHeight float
start int
length int
letterSpacing float

Returns

Vector2

MeasureTextLine(IFont, string, float, float)

public static Vector2 MeasureTextLine(this IFont font, string text, float fontHeight, float letterSpacing)

Parameters

font IFont
text string
fontHeight float
letterSpacing float

Returns

Vector2