C# Class AvalonStudio.TextEditor.Rendering.TextMarkerService

Inheritance: IBackgroundRenderer
Afficher le fichier Open project: VitalElement/AvalonStudio Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
Create ( int offset, int length, string message, Color markerColor ) : void
Draw ( TextView textView, Avalonia.Media.DrawingContext drawingContext ) : void
GetMarkersAtOffset ( int offset ) : IEnumerable
TextMarkerService ( TextDocument document ) : System
TransformLine ( TextView textView, Avalonia.Media.DrawingContext drawingContext, VisualLine line ) : void
Update ( ) : void

Private Methods

Méthode Description
CreatePoints ( Point start, Point end, double offset, int count ) : IEnumerable

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Create() public méthode

public Create ( int offset, int length, string message, Color markerColor ) : void
offset int
length int
message string
markerColor Color
Résultat void

Draw() public méthode

public Draw ( TextView textView, Avalonia.Media.DrawingContext drawingContext ) : void
textView TextView
drawingContext Avalonia.Media.DrawingContext
Résultat void

GetMarkersAtOffset() public méthode

public GetMarkersAtOffset ( int offset ) : IEnumerable
offset int
Résultat IEnumerable

TextMarkerService() public méthode

public TextMarkerService ( TextDocument document ) : System
document AvalonStudio.TextEditor.Document.TextDocument
Résultat System

TransformLine() public méthode

public TransformLine ( TextView textView, Avalonia.Media.DrawingContext drawingContext, VisualLine line ) : void
textView TextView
drawingContext Avalonia.Media.DrawingContext
line VisualLine
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void