C# Class LayoutFarm.HtmlBoxes.BoxHitUtils

Datei anzeigen Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
HitTest ( CssBox box, float x, float y, CssBoxHitChain hitChain ) : bool

Private Methods

Method Description
GetCssRunOnLocation ( CssLineBox lineBox, int x, int y ) : CssRun
GetDeepDownLineBoxIter ( CssBox box ) : IEnumerable
GetNearestLine ( CssBox a, Point point, bool &found ) : CssLineBox
GetNextSibling ( CssBox a ) : CssBox
SearchUpForContainingBlockBox ( CssBox startBox ) : CssBox

Gets the containing block-box of this box. (The nearest parent box with display=block)

Method Details

HitTest() public static method

public static HitTest ( CssBox box, float x, float y, CssBoxHitChain hitChain ) : bool
box CssBox
x float
y float
hitChain CssBoxHitChain
return bool