public AddHit ( |
||
svg | ||
x | float | |
y | float | |
return | void |
public void AddHit(SvgElement svg, float x, float y)
{
svgList.Add(new SvgHitInfo(svg, x, y));
}
public int Count
//------------------------------------------------ public override bool HitTestCore(SvgHitChain svgChain, float x, float y) { if (y >= this.ActualY & y < (this.ActualY + this.ActualHeight)) { if (x >= this.ActualX && x < this.ActualX + this.ActualWidth) { svgChain.AddHit(this, x, y); return(true); } } return(false); }