@@ -107,8 +107,7 @@ struct BrushBehavior {
107107 // List of input properties along with their units that can act as sources for
108108 // a `BrushBehavior`.
109109 //
110- // This should match the enum in BrushBehavior.kt and
111- // BrushFamilyExtensions.kt.
110+ // This should match the enum in BrushBehavior.kt.
112111 //
113112 // Behaviors that consider properties of the stroke input do not consider
114113 // alterations to the visible position of that point in the stroke by brush
@@ -180,10 +179,16 @@ struct BrushBehavior {
180179 kDistanceRemainingInMultiplesOfBrushSize ,
181180 // Time elapsed since the modeled stroke input. This continues to increase
182181 // even after all stroke inputs have completed, and can be used to drive
183- // stroke animations. These enumerators are only compatible with a
182+ // wet-layer stroke animations. This source is only compatible with a
184183 // `source_out_of_range_behavior` of `kClamp`, to ensure that the animation
185184 // will eventually end.
186185 kTimeSinceInputInSeconds ,
186+ // Time elapsed since the final input of the stroke, or zero if the final
187+ // input hasn't arrived yet. This can be used to drive wet-layer stroke
188+ // animations that should occur after the final input. This source is only
189+ // compatible with a `source_out_of_range_behavior` of `kClamp`, to ensure
190+ // that the animation will eventually end.
191+ kTimeSinceStrokeEndInSeconds ,
187192 // Absolute acceleration of the modeled stroke input in multiples of the
188193 // brush size per second squared. Note that this value doesn't take into
189194 // account brush behaviors that offset the position of that visible point in
@@ -247,8 +252,7 @@ struct BrushBehavior {
247252
248253 // List of tip properties that can be modified by a `BrushBehavior`.
249254 //
250- // This should match the enums in BrushBehavior.kt and
251- // BrushFamilyExtensions.kt.
255+ // This should match the enum in BrushBehavior.kt.
252256 enum class Target : int8_t {
253257 // `kWidthMultiplier` and `kHeightMultiplier` scale the brush-tip size along
254258 // one dimension, starting from the values calculated using
@@ -324,8 +328,7 @@ struct BrushBehavior {
324328
325329 // List of vector tip properties that can be modified by a `BrushBehavior`.
326330 //
327- // This should match the enums in BrushBehavior.kt and
328- // BrushFamilyExtensions.kt.
331+ // This should match the enum in BrushBehavior.kt.
329332 enum class PolarTarget : int8_t {
330333 // Adds the vector to the brush tip's absolute x/y position in stroke space,
331334 // where the angle input is measured in radians and the magnitude input is
@@ -349,8 +352,7 @@ struct BrushBehavior {
349352 // The desired behavior when an input value is outside the bounds of
350353 // `source_value_range`.
351354 //
352- // This should match the enum in BrushBehavior.kt and
353- // BrushFamilyExtensions.kt.
355+ // This should match the enum in BrushBehavior.kt.
354356 enum class OutOfRange : int8_t {
355357 // Values outside the range will be clamped to not exceed the bounds.
356358 kClamp ,
@@ -387,8 +389,7 @@ struct BrushBehavior {
387389
388390 // List of input properties that might not be reported by `StrokeInput`.
389391 //
390- // This should match the enums in BrushBehavior.kt and
391- // BrushFamilyExtensions.kt.
392+ // This should match the enum in BrushBehavior.kt.
392393 enum OptionalInputProperty : int8_t {
393394 kPressure ,
394395 kTilt ,
0 commit comments