using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace InkCanvasForClass.IccInkCanvas.Settings {
public class BoardSettings {
public BoardSettings() {}
///
/// 笔尖长度
///
public double NibWidth { get; set; } = 4.00;
///
/// 笔尖高度
///
public double NibHeight { get; set; } = 4.00;
///
/// 笔尖大小,适合笔尖类型为普通笔时使用
///
public double NibSize {
get => (NibWidth + NibHeight) / 2;
set => NibWidth = NibHeight = value;
}
public NibType NibType { get; set; } = NibType.Default;
///
/// 笔尖颜色
///
public Color NibColor { get; set; } = Colors.Black;
///
/// 笔锋样式类型,默认有笔锋
///
public StrokeNibStyle StrokeNibStyle { get; set; } = StrokeNibStyle.Beautiful;
}
}