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.
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using GeoSigma.SigmaDrawerStyle.Converter;
|
|
|
|
|
|
|
|
|
|
|
|
namespace SigmaDrawerElement.Converter
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
public class ProportionStyleConverter : EnumConverter<ProportionStyle>
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override Dictionary<ProportionStyle, string> CreateMaps()
|
|
|
|
|
|
{
|
|
|
|
|
|
return new Dictionary<ProportionStyle, string>
|
|
|
|
|
|
{
|
|
|
|
|
|
{ProportionStyle.styleSimple, "普通式"},
|
|
|
|
|
|
{ProportionStyle.styleContemporaneity, "现代式"},
|
|
|
|
|
|
{ProportionStyle.stylePopular, "流行式"},
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|