com.pspdfkit.annotations.configuration.ShapeAnnotationConfiguration

Class Overview

Configuration for shape annotations - SQUARE, CIRCLE and POLYGON.

Summary

Nested Classes
interface ShapeAnnotationConfiguration.Builder Interface for configuration builder. 
Public Methods
abstract static ShapeAnnotationConfiguration.Builder builder(Context context, AnnotationTool annotationTool)
Creates a new instance of shape annotation configuration builder.
abstract static ShapeAnnotationConfiguration.Builder builder(Context context, AnnotationType annotationType)
Creates a new instance of shape annotation configuration builder.
[Expand]
Inherited Methods
From interface com.pspdfkit.annotations.configuration.AnnotationAlphaConfiguration
From interface com.pspdfkit.annotations.configuration.AnnotationBorderStyleConfiguration
From interface com.pspdfkit.annotations.configuration.AnnotationColorConfiguration
From interface com.pspdfkit.annotations.configuration.AnnotationConfiguration
From interface com.pspdfkit.annotations.configuration.AnnotationFillColorConfiguration
From interface com.pspdfkit.annotations.configuration.AnnotationPreviewConfiguration
From interface com.pspdfkit.annotations.configuration.AnnotationThicknessConfiguration

Public Methods

public static abstract ShapeAnnotationConfiguration.Builder builder (Context context, 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

public static abstract ShapeAnnotationConfiguration.Builder builder (Context context, 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