BorderStylePickerInspectorView

constructor(@NonNull context: Context, @NonNull label: String, @NonNull availablePresets: List<BorderStylePreset>, @NonNull defaultPreset: BorderStylePreset, @Nullable listener: BorderStylePickerInspectorView.BorderStylePickerListener)

Construct line style picker.

Parameters

context

The context to use.

label

Label for inspector view.

availablePresets

List of available border styles.

defaultPreset

Default preset selected when showing picker.

listener

Listener for border style picker changes.