forked from oxyplot/oxyplot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextMeasurementMethod.cs
More file actions
27 lines (25 loc) · 989 Bytes
/
TextMeasurementMethod.cs
File metadata and controls
27 lines (25 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TextMeasurementMethod.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// The text measurement methods.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace OxyPlot.Wpf
{
/// <summary>
/// The text measurement methods.
/// </summary>
public enum TextMeasurementMethod
{
/// <summary>
/// Measurement by TextBlock. This gives a more accurate result than <see cref="GlyphTypeface"/> as it takes into account text shaping.
/// </summary>
TextBlock,
/// <summary>
/// Measurement by glyph typeface. This is faster than <see cref="TextBlock"/>, but does not take into account text shaping.
/// </summary>
GlyphTypeface
}
}