C# 클래스 LayoutFarm.Text.SolidTextRun

상속: EditableRun
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CalculateDrawingStringSize PixelFarm.Drawing.Size
EvaluateFontAndTextColor int
InsertAfter void
MakeTextRun EditableRun
Remove EditableRun
UpdateRunWidth void

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
GetFont ( ) : RequestFont

비공개 메소드들

메소드 설명
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

메소드 상세

Clone() 공개 메소드

public Clone ( ) : EditableRun
리턴 EditableRun

Copy() 공개 메소드

public Copy ( int startIndex ) : EditableRun
startIndex int
리턴 EditableRun

Copy() 공개 메소드

public Copy ( int startIndex, int length ) : EditableRun
startIndex int
length int
리턴 EditableRun

CopyContentToStringBuilder() 공개 메소드

public CopyContentToStringBuilder ( StringBuilder stBuilder ) : void
stBuilder StringBuilder
리턴 void

CustomDrawToThisCanvas() 공개 메소드

public CustomDrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
canvas PixelFarm.Drawing.Canvas
updateArea PixelFarm.Drawing.Rectangle
리턴 void

GetChar() 공개 메소드

public GetChar ( int index ) : char
index int
리턴 char

GetCharacterFromPixelOffset() 공개 메소드

public GetCharacterFromPixelOffset ( int pixelOffset ) : EditableRunCharLocation
pixelOffset int
리턴 EditableRunCharLocation

GetFont() 보호된 메소드

protected GetFont ( ) : RequestFont
리턴 PixelFarm.Drawing.RequestFont

GetRunWidth() 공개 메소드

public GetRunWidth ( int charOffset ) : int
charOffset int
리턴 int

LeftCopy() 공개 메소드

public LeftCopy ( int index ) : EditableRun
index int
리턴 EditableRun

ResetRootGraphics() 공개 메소드

public ResetRootGraphics ( RootGraphic rootgfx ) : void
rootgfx RootGraphic
리턴 void

SetStyle() 공개 메소드

public SetStyle ( TextSpanStyle spanStyle ) : void
spanStyle TextSpanStyle
리턴 void

SolidTextRun() 공개 메소드

public SolidTextRun ( RootGraphic gfx, char copyBuffer, TextSpanStyle style ) : System
gfx RootGraphic
copyBuffer char
style TextSpanStyle
리턴 System

SolidTextRun() 공개 메소드

public SolidTextRun ( RootGraphic gfx, string str, TextSpanStyle style ) : System
gfx RootGraphic
str string
style TextSpanStyle
리턴 System