C# Class ICSharpCode.AvalonEdit.Rendering.SingleCharacterElementGenerator.SpecialCharacterTextRun

Inheritance: ICSharpCode.AvalonEdit.Rendering.FormattedTextRun
Afficher le fichier Open project: kjk/kjkpub

Méthodes publiques

Méthode Description
ComputeBoundingBox ( bool rightToLeft, bool sideways ) : Rect
Draw ( System.Windows.Media.DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways ) : void
Format ( double remainingParagraphWidth ) : System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics
SpecialCharacterTextRun ( ICSharpCode.AvalonEdit.Rendering.FormattedTextElement element, System.Windows.Media.TextFormatting.TextRunProperties properties ) : System

Method Details

ComputeBoundingBox() public méthode

public ComputeBoundingBox ( bool rightToLeft, bool sideways ) : Rect
rightToLeft bool
sideways bool
Résultat System.Windows.Rect

Draw() public méthode

public Draw ( System.Windows.Media.DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways ) : void
drawingContext System.Windows.Media.DrawingContext
origin Point
rightToLeft bool
sideways bool
Résultat void

Format() public méthode

public Format ( double remainingParagraphWidth ) : System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics
remainingParagraphWidth double
Résultat System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics

SpecialCharacterTextRun() public méthode

public SpecialCharacterTextRun ( ICSharpCode.AvalonEdit.Rendering.FormattedTextElement element, System.Windows.Media.TextFormatting.TextRunProperties properties ) : System
element ICSharpCode.AvalonEdit.Rendering.FormattedTextElement
properties System.Windows.Media.TextFormatting.TextRunProperties
Résultat System