setLineEnds

abstract fun setLineEnds(@NonNull annotationTool: AnnotationTool, @NonNull lineEnd1: LineEndType, @NonNull lineEnd2: LineEndType)

Sets line end types to preferences.

Parameters

annotationTool

Annotation tool for which we need the preferences.

lineEnd1

LineEndType for start of the line.

lineEnd2

LineEndType for end of the line.


abstract fun setLineEnds(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @NonNull lineEnd1: LineEndType, @NonNull lineEnd2: LineEndType)

Sets line end types to preferences.

Parameters

annotationTool

Annotation tool for which we need the preferences.

toolVariant

Variant of the annotation tool.

lineEnd1

LineEndType for start of the line.

lineEnd2

LineEndType for end of the line.