BrushPaint.AnimationRepeatMode


public final class BrushPaint.AnimationRepeatMode


Specifies what should happen when a brush paint animation repeats.

Summary

Public fields

static final @NonNull BrushPaint.AnimationRepeatMode

Return to the start of the animation for the next repetition.

static final @NonNull BrushPaint.AnimationRepeatMode

Reverse animation direction for the next repetition.

Public methods

final @NonNull Version

Returns the minimum required Version for this AnimationRepeatMode.

@NonNull String

Public fields

RESTART

public static final @NonNull BrushPaint.AnimationRepeatMode RESTART

Return to the start of the animation for the next repetition.

REVERSE

public static final @NonNull BrushPaint.AnimationRepeatMode REVERSE

Reverse animation direction for the next repetition.

Public methods

calculateMinimumRequiredVersion

Added in 1.1.0-alpha11
public final @NonNull Version calculateMinimumRequiredVersion()

Returns the minimum required Version for this AnimationRepeatMode.

By default, decoding a BrushFamily containing an AnimationRepeatMode with a minimum required version higher than Version.MAX_SUPPORTED will fail.

toString

public @NonNull String toString()