Interface AnnotationAlphaConfiguration.Builder
-
- All Implemented Interfaces:
-
com.pspdfkit.annotations.configuration.AnnotationConfiguration.Builder
public interface AnnotationAlphaConfiguration.Builder<T> implements AnnotationConfiguration.Builder<T>
Builder for AnnotationAlphaConfiguration.
-
-
Method Summary
Modifier and Type Method Description abstract T
setDefaultAlpha(@FloatRange(from = 0.0, to = 1.0) float defaultAlpha)
Sets default annotation alpha. abstract T
setMinAlpha(@FloatRange(from = 0.0, to = 1.0) float minAlpha)
Sets minimal annotation alpha. abstract T
setMaxAlpha(@FloatRange(from = 0.0, to = 1.0) float maxAlpha)
Sets maximal annotation alpha. -
-
Method Detail
-
setDefaultAlpha
@NonNull() abstract T setDefaultAlpha(@FloatRange(from = 0.0, to = 1.0) float defaultAlpha)
Sets default annotation alpha. Defaults to 1.0
- Parameters:
defaultAlpha
- The default annotation alpha.
-
setMinAlpha
@NonNull() abstract T setMinAlpha(@FloatRange(from = 0.0, to = 1.0) float minAlpha)
Sets minimal annotation alpha. Defaults to 0.0
- Parameters:
minAlpha
- The minimal annotation alpha.
-
setMaxAlpha
@NonNull() abstract T setMaxAlpha(@FloatRange(from = 0.0, to = 1.0) float maxAlpha)
Sets maximal annotation alpha. Defaults to 1.0
- Parameters:
maxAlpha
- The maximal annotation alpha.
-
-
-
-