Constructor ScrollBarAnnotationPaintData
ScrollBarAnnotationPaintData(ScrollBarAnnotationType, int, ScrollBarAnnotationHorizontalAlignment, ScrollBarAnnotationVerticalAlignment, Color, int, int)
Initializes a new instance of the ScrollBarAnnotationPaintData
class with specified parameters.
public ScrollBarAnnotationPaintData(ScrollBarAnnotationType type, int textLineStartIndex, ScrollBarAnnotationHorizontalAlignment horizontalAlignment, ScrollBarAnnotationVerticalAlignment verticalAlignment, Color color, int height, int textLinesCount = 1)
Parameters
type
ScrollBarAnnotationTypeType of the annotation.
textLineStartIndex
intIndex of line from which annotation starts.
horizontalAlignment
ScrollBarAnnotationHorizontalAlignmentHorizontal alignment of the annotation.
verticalAlignment
ScrollBarAnnotationVerticalAlignmentVertical alignment of the annotation.
color
ColorAnnotation background color.
height
intAnnotation height.
textLinesCount
intNumber of lines to which annotation belongs.
ScrollBarAnnotationPaintData(ScrollBarAnnotationType, int, ScrollBarAnnotationAlignment, Color, int, int)
Initializes a new instance of the ScrollBarAnnotationPaintData
class with specified parameters.
public ScrollBarAnnotationPaintData(ScrollBarAnnotationType type, int textLineStartIndex, ScrollBarAnnotationAlignment alignment, Color color, int height, int textLinesCount = 1)
Parameters
type
ScrollBarAnnotationTypeType of the annotation.
textLineStartIndex
intIndex of line from which annotation starts.
alignment
ScrollBarAnnotationAlignmentAlignment of the annotation.
color
ColorAnnotation background color.
height
intAnnotation height.
textLinesCount
intNumber of lines to which annotation belongs.