Table of Contents

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

double

InterpolationSteps

public int InterpolationSteps { get; set; }

Property Value

int

MaxConcurrentTasks

public int MaxConcurrentTasks { get; set; }

Property Value

int

MaxCurvatureThreshold

public double MaxCurvatureThreshold { get; set; }

Property Value

double

MaxPointsPerStroke

public int MaxPointsPerStroke { get; set; }

Property Value

int

MinCurvatureThreshold

public double MinCurvatureThreshold { get; set; }

Property Value

double

Quality

public InkSmoothingConfig.SmoothingQuality Quality { get; set; }

Property Value

InkSmoothingConfig.SmoothingQuality

ResampleInterval

public double ResampleInterval { get; set; }

Property Value

double

SmoothingStrength

public double SmoothingStrength { get; set; }

Property Value

double

UseAdaptiveInterpolation

public bool UseAdaptiveInterpolation { get; set; }

Property Value

bool

UseAsyncProcessing

public bool UseAsyncProcessing { get; set; }

Property Value

bool

UseHardwareAcceleration

public bool UseHardwareAcceleration { get; set; }

Property Value

bool

Methods

ApplyQualitySettings()

应用质量设置

public void ApplyQualitySettings()

FromSettings()

从设置中加载配置

public static InkSmoothingConfig FromSettings()

Returns

InkSmoothingConfig

GetSummary()

获取配置摘要

public string GetSummary()

Returns

string

SaveToSettings()

保存配置到设置

public void SaveToSettings()

Validate()

验证配置参数

public bool Validate()

Returns

bool