C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
dbugId int

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ApplyBaseline() публичный Метод

public ApplyBaseline ( float baseline ) : void
baseline float
Результат void

CalculateTotalBoxBaseLine() публичный Метод

public CalculateTotalBoxBaseLine ( LayoutVisitor lay ) : float
lay LayoutVisitor
Результат float

CssLineBox() публичный Метод

Creates a new LineBox
public CssLineBox ( CssBox ownerBox ) : System
ownerBox CssBox
Результат System

GetAreaStripTopPosIter() публичный Метод

public GetAreaStripTopPosIter ( ) : IEnumerable
Результат IEnumerable

HitTest() публичный Метод

public HitTest ( float x, float y ) : bool
x float
y float
Результат bool

ToString() публичный Метод

Returns the words of the linebox
public ToString ( ) : string
Результат string

Описание свойств

dbugId публичное свойство

public int dbugId
Результат int