Interface AnnotationTextSizeConfiguration.Builder
-
- All Implemented Interfaces:
-
com.pspdfkit.annotations.configuration.AnnotationConfiguration.Builder
public interface AnnotationTextSizeConfiguration.Builder<T> implements AnnotationConfiguration.Builder<T>
Builder for AnnotationTextSizeConfiguration.
-
-
Method Summary
Modifier and Type Method Description abstract T
setDefaultTextSize(@FloatRange(from = 1.0) float defaultTextSize)
Sets default text size. abstract T
setMinTextSize(@FloatRange(from = 1.0) float minTextSize)
Sets minimal text size. abstract T
setMaxTextSize(@FloatRange(from = 1.0) float maxTextSize)
Sets maximal text size. -
-
Method Detail
-
setDefaultTextSize
@NonNull() abstract T setDefaultTextSize(@FloatRange(from = 1.0) float defaultTextSize)
Sets default text size. Defaults to 10 pt.
- Parameters:
defaultTextSize
- The default text size in pt.
-
setMinTextSize
@NonNull() abstract T setMinTextSize(@FloatRange(from = 1.0) float minTextSize)
Sets minimal text size. Defaults to 1 pt.
- Parameters:
minTextSize
- The minimal text size in pt.
-
setMaxTextSize
@NonNull() abstract T setMaxTextSize(@FloatRange(from = 1.0) float maxTextSize)
Sets maximal text size. Defaults to 40 pt.
- Parameters:
maxTextSize
- The maximal text size in pt.
-
-
-
-