Dela via


InkModelerAttributes.UseVelocityBasedPressure Property

Definition

Gets or sets whether pen velocity is used in combination with pressure on the inking surface to calculate final pressure value.

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

Property Value

Boolean

bool

True, if pen velocity is used. Otherwise, false.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

This setting is valid for pencil and ballpoint pen brushes.

For the ballpoint pen brush, a faster velocity results in a thinner stroke, while a lower velocity results in a thicker stroke.

For the pencil brush, a faster velocity results in a thinner and lighter stroke, while a lower velocity results in a thicker and darker stroke.

When using the InkToolbar, InkModelerAttributes should be set in the InkToolbar.ActiveToolChanged event as attributes are overwritten whenever the active tool is changed.

Applies to