C# Class LayoutFarm.HtmlBoxes.CssLineBox

Represents a line of text.
To learn more about line-boxes see CSS spec: http://www.w3.org/TR/CSS21/visuren.html
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство Type Description
dbugId int

Private Properties

Свойство Type Description
AddRun void
CalculateLineHeight float
CanDoMoreLeftOffset bool
CloseLine void
DoLeftOffset void
FindMaxWidthRun CssRun
GetFirstRun CssRun
GetLastRun CssRun
GetRightOfLastRun float
GetRun CssRun
GetRunIter IEnumerable
GetRunIter IEnumerable
OffsetTop void
PaintBackgroundAndBorder void
PaintDecoration void
PaintRuns void
RegisterStripPart void
SetBaseLine void
StepUpRegisterStrips int
dbugPaintRuns void

Méthodes publiques

Méthode Description
ApplyBaseline ( float baseline ) : void
CalculateTotalBoxBaseLine ( LayoutVisitor lay ) : float
CssLineBox ( CssBox ownerBox ) : System

Creates a new LineBox

GetAreaStripTopPosIter ( ) : IEnumerable
HitTest ( float x, float y ) : bool
ToString ( ) : string

Returns the words of the linebox

Private Methods

Méthode Description
AddRun ( CssRun run ) : void

Lets the linebox add the word an its box to their lists if necessary.

CalculateLineHeight ( ) : float
CanDoMoreLeftOffset ( float newOffset, float rightLimit ) : bool
CloseLine ( LayoutVisitor lay ) : void
DoLeftOffset ( float diff ) : void
FindMaxWidthRun ( float minimum ) : CssRun
GetFirstRun ( ) : CssRun
GetLastRun ( ) : CssRun
GetRightOfLastRun ( ) : float
GetRun ( int index ) : CssRun
GetRunIter ( ) : IEnumerable
GetRunIter ( CssBox box ) : IEnumerable
OffsetTop ( float ydiff ) : void
PaintBackgroundAndBorder ( PaintVisitor p ) : void
PaintDecoration ( PaintVisitor p ) : void
PaintRuns ( PaintVisitor p ) : void
RegisterStripPart ( CssBox runOwner, float left, float top, float right, float bottom, List newStrips, PartialBoxStrip>.Dictionary dic ) : void
SetBaseLine ( CssBox stripOwnerBox, float baseline ) : void

Gets the baseline Height of the rectangle

StepUpRegisterStrips ( PartialBoxStrip>.Dictionary dicStrips, CssBox lineOwnerBox, List inputList, int startInputAt ) : int
dbugPaintRuns ( PaintVisitor p ) : void

Method Details

ApplyBaseline() public méthode

public ApplyBaseline ( float baseline ) : void
baseline float
Résultat void

CalculateTotalBoxBaseLine() public méthode

public CalculateTotalBoxBaseLine ( LayoutVisitor lay ) : float
lay LayoutVisitor
Résultat float

CssLineBox() public méthode

Creates a new LineBox
public CssLineBox ( CssBox ownerBox ) : System
ownerBox CssBox
Résultat System

GetAreaStripTopPosIter() public méthode

public GetAreaStripTopPosIter ( ) : IEnumerable
Résultat IEnumerable

HitTest() public méthode

public HitTest ( float x, float y ) : bool
x float
y float
Résultat bool

ToString() public méthode

Returns the words of the linebox
public ToString ( ) : string
Résultat string

Property Details

dbugId public_oe property

public int dbugId
Résultat int