wpf - C# WPF 使用点在墨水 Canvas 上绘制描边

标签 wpf points

我想使用一组点在墨水 Canvas 上进行描边。如何将 StylusPointCollection 或点转换为 StrokeCollection

最佳答案

您实际上是指中风吗?

您可以简单地使用 the constructorStylusPointCollection 转换的 Stroke

public Stroke (
    StylusPointCollection stylusPoints
)

关于wpf - C# WPF 使用点在墨水 Canvas 上绘制描边,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13431990/

相关文章:

c# - 具有字符串绑定(bind)到 Int 属性的 WPF 组合框

.net - MVVM 没有意义吗?

c# - WPF 和 Paypal 集成

algorithm - 找到一个点,该点与有界区域内的一组点的总距离最大

python - 从多边形点Python创建一个填充的numpy数组

c# - 如何将数据传递到 XAML 中的 IValueConverter?

c# - PropertyChangedEvent 多次触发

algorithm - 遗传算法: Find curve that fits points

开放层 : How to calculate distance between two points?

opencv - 检索圆点