AnnotationCreationToolbarItemPresets

Deprecated

Use ToolbarPresetEntry based presets via ContextualToolbarGroupingProvider (com.pspdfkit.compose.toolbar.state) instead. Removed at the next major version.

List of different presets for the annotation creation toolbar (based on the available space of icons visible on the current device).

Properties

Link copied to clipboard

Annotation toolbar grouping with all elements (excluding non-default features).

Link copied to clipboard

Annotation toolbar grouping with 8 elements.

Link copied to clipboard

Annotation toolbar grouping with 5 elements.

Link copied to clipboard

Annotation toolbar grouping with 4 elements.

Link copied to clipboard

Annotation toolbar grouping with 7 elements.

Link copied to clipboard

Annotation toolbar grouping with 6 elements.

Functions

Link copied to clipboard
fun getPreset(capacity: Int, features: EnumSet<AdaptiveGroupingRule>): MutableList<MenuItem>

Get the appropriate preset for the given capacity and features.