addAppearanceStreamGenerator

open fun addAppearanceStreamGenerator(@NonNull subject: String, @NonNull appearanceStreamGenerator: AppearanceStreamGenerator)

Adds new appearance stream generator for stamp annotations with given subject. This overrides previously registered appearance stream generator for the subject.

Parameters

subject

Subject of annotations that will use appearanceStreamGenerator to generate their AP stream.

appearanceStreamGenerator

Appearance stream generator for the specified subject.