Class InkSmoothingConfig
- Namespace
- Ink_Canvas.Helpers
- Assembly
- InkCanvasForClass.dll
墨迹平滑配置类
public class InkSmoothingConfig
- Inheritance
-
InkSmoothingConfig
- Inherited Members
Properties
CurveTension
public double CurveTension { get; set; }
Property Value
InterpolationSteps
public int InterpolationSteps { get; set; }
Property Value
MaxConcurrentTasks
public int MaxConcurrentTasks { get; set; }
Property Value
MaxCurvatureThreshold
public double MaxCurvatureThreshold { get; set; }
Property Value
MaxPointsPerStroke
public int MaxPointsPerStroke { get; set; }
Property Value
MinCurvatureThreshold
public double MinCurvatureThreshold { get; set; }
Property Value
Quality
public InkSmoothingConfig.SmoothingQuality Quality { get; set; }
Property Value
ResampleInterval
public double ResampleInterval { get; set; }
Property Value
SmoothingStrength
public double SmoothingStrength { get; set; }
Property Value
UseAdaptiveInterpolation
public bool UseAdaptiveInterpolation { get; set; }
Property Value
UseAsyncProcessing
public bool UseAsyncProcessing { get; set; }
Property Value
UseHardwareAcceleration
public bool UseHardwareAcceleration { get; set; }
Property Value
Methods
ApplyQualitySettings()
应用质量设置
public void ApplyQualitySettings()
FromSettings()
从设置中加载配置
public static InkSmoothingConfig FromSettings()
Returns
GetSummary()
获取配置摘要
public string GetSummary()
Returns
SaveToSettings()
保存配置到设置
public void SaveToSettings()
Validate()
验证配置参数
public bool Validate()