InkModelerAttributes.UseVelocityBasedPressure 属性

定义

获取或设置是否将笔速度与墨迹表面上的压力结合使用来计算最终压力值。

public:
 property bool UseVelocityBasedPressure { bool get(); void set(bool value); };
bool UseVelocityBasedPressure();

void UseVelocityBasedPressure(bool value);
public bool UseVelocityBasedPressure { get; set; }
var boolean = inkModelerAttributes.useVelocityBasedPressure;
inkModelerAttributes.useVelocityBasedPressure = boolean;
Public Property UseVelocityBasedPressure As Boolean

属性值

Boolean

bool

如此,如果使用笔速度。 否则为 false。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

注解

此设置对铅笔和圆珠笔画笔有效。

对于圆珠笔画笔,速度较快会导致笔划变细,而速度越低会导致笔划较粗。

对于铅笔画笔,更快的速度会导致笔划更薄、更轻,而速度越低会导致笔划更粗、更深。

使用 InkToolbar 时,应在 InkToolbar.ActiveToolChanged 事件中设置 InkModelerAttributes,因为只要更改活动工具,属性就会被覆盖。

适用于