GraphControllerFindGraphObjectAtPixelPosition Method |
Looks for a graph object at pixel position pixelPos and returns true if one is found.
Namespace: Altaxo.Gui.Graph.Gdi.ViewingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool FindGraphObjectAtPixelPosition(
PointD2D pixelPos,
bool plotItemsOnly,
out IHitTestObject foundObject,
out int[] foundInLayerNumber
)
Parameters
- pixelPos PointD2D
- The pixel coordinates (graph panel coordinates)
- plotItemsOnly Boolean
- If true, only the plot items where hit tested.
- foundObject IHitTestObject
- Found object if there is one found, else null
- foundInLayerNumber Int32
- The layer the found object belongs to, otherwise 0
Return Value
BooleanTrue if a object was found at the pixel coordinates
pixelPos, else false.
See Also