You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
619 B
C#
23 lines
619 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace GeoSigma.SigmaDrawerStyle.Converter
|
|
{
|
|
/// <summary>
|
|
/// 平滑
|
|
/// </summary>
|
|
public class CurveSmoothnessConverter : EnumConverter<CurveSmoothness>
|
|
{
|
|
/// <inheritdoc/>
|
|
protected override Dictionary<CurveSmoothness, string> CreateMaps()
|
|
{
|
|
return new Dictionary<CurveSmoothness, string>()
|
|
{
|
|
{ CurveSmoothness.None, "无" },
|
|
{ CurveSmoothness.Bezier, "B样条" },
|
|
{ CurveSmoothness.Spline, "三次样条" },
|
|
};
|
|
}
|
|
}
|
|
}
|