Builder

interface Builder<T>

Builder for AnnotationConfiguration. All builders declared in subclasses of annotation configuration must extend this builder.

Parameters

<T>

Type of the builder, used to return correct builder subclass from builder's methods.

Inheritors

Functions

Link copied to clipboard
Builds the annotation configuration from values configured by this builder.
Link copied to clipboard
abstract fun disableProperty(@NonNull disabledProperty: AnnotationProperty): T
Removes specific property from the supported properties.
Link copied to clipboard
abstract fun setForceDefaults(forceDefaults: Boolean): T
Sets whether annotation defaults defined in the configuration should be enforced.
Link copied to clipboard
abstract fun setSupportedProperties(@NonNull supportedProperties: EnumSet<AnnotationProperty>): T
Controls which annotation properties are enabled for specific annotation type or tool.
Link copied to clipboard
abstract fun setZIndexEditingEnabled(enabled: Boolean): T
Sets whether the z-index editing is enabled for specific annotation type or tool.