C# Class LayoutFarm.HtmlBoxes.CssTextRun

Represents a word inside an inline box
Inheritance: CssRun
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Property Type Description
CssTextRun
CssTextRun
CssTextRun

Public Methods

Method Description
CreateLineBreak ( ) : CssTextRun
CreateSingleWhitespace ( ) : CssTextRun
CreateTextRun ( int startIndex, int len ) : CssTextRun
CreateWhitespace ( int count ) : CssTextRun
MakeLength1 ( ) : void
ToString ( ) : string

Represents this word for debugging purposes

WriteContent ( System stbuilder, int start, int length ) : void

Private Methods

Method Description
CssTextRun ( CssRunKind kind )
CssTextRun ( CssRunKind rectKind, int start, int len )

Init.

CssTextRun ( int whiteSpaceLength )

Method Details

CreateLineBreak() public static method

public static CreateLineBreak ( ) : CssTextRun
return CssTextRun

CreateSingleWhitespace() public static method

public static CreateSingleWhitespace ( ) : CssTextRun
return CssTextRun

CreateTextRun() public static method

public static CreateTextRun ( int startIndex, int len ) : CssTextRun
startIndex int
len int
return CssTextRun

CreateWhitespace() public static method

public static CreateWhitespace ( int count ) : CssTextRun
count int
return CssTextRun

MakeLength1() public method

public MakeLength1 ( ) : void
return void

ToString() public method

Represents this word for debugging purposes
public ToString ( ) : string
return string

WriteContent() public method

public WriteContent ( System stbuilder, int start, int length ) : void
stbuilder System
start int
length int
return void