Interface ShapeAnnotationConfiguration
-
- All Implemented Interfaces:
-
com.pspdfkit.annotations.configuration.AnnotationAlphaConfiguration
,com.pspdfkit.annotations.configuration.AnnotationBorderStyleConfiguration
,com.pspdfkit.annotations.configuration.AnnotationColorConfiguration
,com.pspdfkit.annotations.configuration.AnnotationConfiguration
,com.pspdfkit.annotations.configuration.AnnotationFillColorConfiguration
,com.pspdfkit.annotations.configuration.AnnotationPreviewConfiguration
,com.pspdfkit.annotations.configuration.AnnotationThicknessConfiguration
public interface ShapeAnnotationConfiguration implements AnnotationColorConfiguration, AnnotationThicknessConfiguration, AnnotationPreviewConfiguration, AnnotationAlphaConfiguration, AnnotationBorderStyleConfiguration, AnnotationFillColorConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ShapeAnnotationConfiguration.Builder
Interface for configuration builder. Use builder to get an instance implementing this interface.
-
Method Summary
Modifier and Type Method Description static ShapeAnnotationConfiguration.Builder
builder(@NonNull() Context context, @NonNull() AnnotationType annotationType)
Creates a new instance of shape annotation configuration builder. static ShapeAnnotationConfiguration.Builder
builder(@NonNull() Context context, @NonNull() AnnotationTool annotationTool)
Creates a new instance of shape annotation configuration builder. -
-
Method Detail
-
builder
@NonNull() static ShapeAnnotationConfiguration.Builder builder(@NonNull() Context context, @NonNull() AnnotationType annotationType)
Creates a new instance of shape annotation configuration builder.
- Parameters:
context
- Context used to pre-fill the builder with implicit values.annotationType
- Shape annotation type to create builder for.- Returns:
Implementation of Builder.
-
builder
@NonNull() static ShapeAnnotationConfiguration.Builder builder(@NonNull() Context context, @NonNull() AnnotationTool annotationTool)
Creates a new instance of shape annotation configuration builder.
- Parameters:
context
- Context used to pre-fill the builder with implicit values.annotationTool
- Shape annotation type to create builder for.- Returns:
Implementation of Builder.
-
-
-
-