DelegatedInkTrailVisual.StartNewTrail(Color) Method

Definition

Specifies that a new "wet" ink stroke should be started and AddTrailPoints(Windows.UI.Composition.InkTrailPoint[]) should be called.

public:
 virtual void StartNewTrail(Color color) = StartNewTrail;
void StartNewTrail(Color const& color);
public void StartNewTrail(Color color);
function startNewTrail(color)
Public Sub StartNewTrail (color As Color)

Parameters

color
Color

The color of the ink stroke.

Remarks

After a trail has been started and trail points added, calling StartNewTrail again will reset the state of the ink trail. All existing points are removed, and any subsequent points will be rendered using the new color.

Applies to