csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.4 KiB
95 lines
2.4 KiB
// Copyright (c) The Avalonia Project. All rights reserved.
|
|
// Licensed under the MIT license. See licence.md file in the project root for full license information.
|
|
|
|
namespace Avalonia.Media
|
|
{
|
|
/// <summary>
|
|
/// Defines a set of predefined font weights.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// As well as the values defined by this enumeration you can also pass any integer value by
|
|
/// casting it to <see cref="FontWeight"/>, e.g. <code>(FontWeight)550</code>.
|
|
/// </remarks>
|
|
public enum FontWeight
|
|
{
|
|
/// <summary>
|
|
/// Specifies a "thin" font weight.
|
|
/// </summary>
|
|
Thin = 100,
|
|
|
|
/// <summary>
|
|
/// Specifies an "extra light" font weight.
|
|
/// </summary>
|
|
ExtraLight = 200,
|
|
|
|
/// <summary>
|
|
/// Specifies an "ultra light" font weight.
|
|
/// </summary>
|
|
UltraLight = 200,
|
|
|
|
/// <summary>
|
|
/// Specifies a "light" font weight.
|
|
/// </summary>
|
|
Light = 300,
|
|
|
|
/// <summary>
|
|
/// Specifies a "normal" font weight.
|
|
/// </summary>
|
|
Normal = 400,
|
|
|
|
/// <summary>
|
|
/// Specifies a "regular" font weight.
|
|
/// </summary>
|
|
Regular = 400,
|
|
|
|
/// <summary>
|
|
/// Specifies a "medium" font weight.
|
|
/// </summary>
|
|
Medium = 500,
|
|
|
|
/// <summary>
|
|
/// Specifies a "demi-bold" font weight.
|
|
/// </summary>
|
|
DemiBold = 600,
|
|
|
|
/// <summary>
|
|
/// Specifies a "semi-bold" font weight.
|
|
/// </summary>
|
|
SemiBold = 600,
|
|
|
|
/// <summary>
|
|
/// Specifies a "bold" font weight.
|
|
/// </summary>
|
|
Bold = 700,
|
|
|
|
/// <summary>
|
|
/// Specifies an "extra bold" font weight.
|
|
/// </summary>
|
|
ExtraBold = 800,
|
|
|
|
/// <summary>
|
|
/// Specifies an "ultra bold" font weight.
|
|
/// </summary>
|
|
UltraBold = 800,
|
|
|
|
/// <summary>
|
|
/// Specifies a "black" font weight.
|
|
/// </summary>
|
|
Black = 900,
|
|
|
|
/// <summary>
|
|
/// Specifies a "heavy" font weight.
|
|
/// </summary>
|
|
Heavy = 900,
|
|
|
|
/// <summary>
|
|
/// Specifies an "extra black" font weight.
|
|
/// </summary>
|
|
ExtraBlack = 950,
|
|
|
|
/// <summary>
|
|
/// Specifies an "ultra black" font weight.
|
|
/// </summary>
|
|
UltraBlack = 950
|
|
}
|
|
}
|
|
|