Click or drag to resize

IHitTestObject Interface

IHitTestObject is used as a return type for hit testing in the graph area.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IHitTestObject

The IHitTestObject type exposes the following members.

Properties
 NameDescription
Public propertyDoubleClick Delegate to handle double click events. Should return true if the object was removed during the processing. Otherwise returns false.
Public propertyHittedObject This will return the object itself, i.e. the object which corresponds to the selection path.
Public propertyObjectOutlineForArrangements Returns the object outline path in page coordinates used for arrangement of multiple objects together. Thus it should describes the object as accurate as possible. In case of lines shapes, it is the line path without widening. In case of closed shapes, it is the outline path of the shape.
Public propertyParentLayer 
Public propertyRemove Handler to remove the hitted object. Should return true if the object is removed, otherwise false.
Public propertyTransformation This will return the transformation matrix. This matrix translates from coordinates of the object to global coordinates.
Top
Methods
 NameDescription
Public methodChangeSize Changes the size of the hitted item either in x or in y direction.
Public methodGetGrips Shows the grips, i.e. the special areas for manipulation of the object.
Public methodGetNextGripLevel Retrieves the next grip level.
Public methodOnDoubleClick This function is called if a double click to the object occured.
Public methodShiftPosition Shifts the position of the hitted object according to the x and y values.
Public methodTransform Transform the internal positions according to the provided transformation matrix.
Top
See Also