C# Class LayoutFarm.Text.SolidTextRun

Inheritance: EditableRun
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Свойство Type Description
CalculateDrawingStringSize PixelFarm.Drawing.Size
EvaluateFontAndTextColor int
InsertAfter void
MakeTextRun EditableRun
Remove EditableRun
UpdateRunWidth void

Méthodes publiques

Méthode Description
Clone ( ) : EditableRun
Copy ( int startIndex ) : EditableRun
Copy ( int startIndex, int length ) : EditableRun
CopyContentToStringBuilder ( StringBuilder stBuilder ) : void
CustomDrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
GetChar ( int index ) : char
GetCharacterFromPixelOffset ( int pixelOffset ) : EditableRunCharLocation
GetRunWidth ( int charOffset ) : int
LeftCopy ( int index ) : EditableRun
ResetRootGraphics ( RootGraphic rootgfx ) : void
SetStyle ( TextSpanStyle spanStyle ) : void
SolidTextRun ( RootGraphic gfx, char copyBuffer, TextSpanStyle style ) : System
SolidTextRun ( RootGraphic gfx, string str, TextSpanStyle style ) : System

Méthodes protégées

Méthode Description
GetFont ( ) : RequestFont

Private Methods

Méthode Description
CalculateDrawingStringSize ( char buffer, int length ) : Size
EvaluateFontAndTextColor ( Canvas canvas, TextSpanStyle spanStyle ) : int
InsertAfter ( int index, char c ) : void
MakeTextRun ( int sourceIndex, int length ) : EditableRun
Remove ( int startIndex, int length, bool withFreeRun ) : EditableRun
UpdateRunWidth ( ) : void

Method Details

Clone() public méthode

public Clone ( ) : EditableRun
Résultat EditableRun

Copy() public méthode

public Copy ( int startIndex ) : EditableRun
startIndex int
Résultat EditableRun

Copy() public méthode

public Copy ( int startIndex, int length ) : EditableRun
startIndex int
length int
Résultat EditableRun

CopyContentToStringBuilder() public méthode

public CopyContentToStringBuilder ( StringBuilder stBuilder ) : void
stBuilder StringBuilder
Résultat void

CustomDrawToThisCanvas() public méthode

public CustomDrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
canvas PixelFarm.Drawing.Canvas
updateArea PixelFarm.Drawing.Rectangle
Résultat void

GetChar() public méthode

public GetChar ( int index ) : char
index int
Résultat char

GetCharacterFromPixelOffset() public méthode

public GetCharacterFromPixelOffset ( int pixelOffset ) : EditableRunCharLocation
pixelOffset int
Résultat EditableRunCharLocation

GetFont() protected méthode

protected GetFont ( ) : RequestFont
Résultat PixelFarm.Drawing.RequestFont

GetRunWidth() public méthode

public GetRunWidth ( int charOffset ) : int
charOffset int
Résultat int

LeftCopy() public méthode

public LeftCopy ( int index ) : EditableRun
index int
Résultat EditableRun

ResetRootGraphics() public méthode

public ResetRootGraphics ( RootGraphic rootgfx ) : void
rootgfx RootGraphic
Résultat void

SetStyle() public méthode

public SetStyle ( TextSpanStyle spanStyle ) : void
spanStyle TextSpanStyle
Résultat void

SolidTextRun() public méthode

public SolidTextRun ( RootGraphic gfx, char copyBuffer, TextSpanStyle style ) : System
gfx RootGraphic
copyBuffer char
style TextSpanStyle
Résultat System

SolidTextRun() public méthode

public SolidTextRun ( RootGraphic gfx, string str, TextSpanStyle style ) : System
gfx RootGraphic
str string
style TextSpanStyle
Résultat System