Custom Stamp Appearance Stream Generator
Collection of AppearanceStreamGenerator that can be registered via addAppearanceStreamGenerator to generate appearance streams for stamps with custom subjects.
Functions
Link copied to clipboard
open fun addAppearanceStreamGenerator(@NonNull subject: String, @NonNull appearanceStreamGenerator: AppearanceStreamGenerator)
Adds new appearance stream generator for stamp annotations with given
subject
.Link copied to clipboard
open fun getDataProviderForAnnotation(@NonNull annotation: Annotation, @NonNull options: EnumSet<AppearanceStreamGenerator.AppearanceStreamGenerationOptions>): DataProvider
Called when the appearance stream data for the given annotation is needed.
Link copied to clipboard
Removes appearance stream generator for the given
subject
that was previously registered via addAppearanceStreamGenerator.Link copied to clipboard
Asks the generator whether it should be used to generate the appearance stream for
annotation
.