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

Inheritance: System.Windows.Media.TextFormatting.TextEmbeddedObject
Exibir arquivo Open project: kjk/kjkpub

Public Methods

Method 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
TabGlyphRun ( TabTextElement element, System.Windows.Media.TextFormatting.TextRunProperties properties ) : System

Method Details

ComputeBoundingBox() public method

public ComputeBoundingBox ( bool rightToLeft, bool sideways ) : Rect
rightToLeft bool
sideways bool
return System.Windows.Rect

Draw() public method

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
return void

Format() public method

public Format ( double remainingParagraphWidth ) : System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics
remainingParagraphWidth double
return System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics

TabGlyphRun() public method

public TabGlyphRun ( TabTextElement element, System.Windows.Media.TextFormatting.TextRunProperties properties ) : System
element TabTextElement
properties System.Windows.Media.TextFormatting.TextRunProperties
return System