Click or drag to resize

HitTestObject Class

This class holds the arrangement path by itself.
Inheritance Hierarchy
SystemObject
  Altaxo.Graph.GdiHitTestObjectBase
    Altaxo.Graph.GdiHitTestObject

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class HitTestObject : HitTestObjectBase

The HitTestObject type exposes the following members.

Constructors
 NameDescription
Public methodHitTestObject(GraphicsPath, Object) Creates a new HitTestObject.
Public methodHitTestObject(GraphicsPath, MatrixD2D, Object) Creates a new HitTestObject.
Top
Properties
 NameDescription
Public propertyDoubleClick
(Inherited from HitTestObjectBase)
Public propertyHittedObject
(Inherited from HitTestObjectBase)
Public propertyObjectOutlineForArrangements Returns the object path in page coordinates. This path is used for the arrangement of multiple selected objects.
(Overrides HitTestObjectBaseObjectOutlineForArrangements)
Public propertyParentLayer
(Inherited from HitTestObjectBase)
Public propertyRemove Handler to remove the hitted object. Should return true if the object is removed, otherwise false.
(Inherited from HitTestObjectBase)
Public propertyTransformation This will return the transformation matrix. This matrix translates from coordinates of the parent of the object (i.e. mostly the parent layer) to global coordinates.
(Inherited from HitTestObjectBase)
Top
Methods
 NameDescription
Public methodChangeSize
(Overrides HitTestObjectBaseChangeSize(NullableDouble, NullableDouble))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetGrips Shows the grips, i.e. the special areas for manipulation of the object.
(Overrides HitTestObjectBaseGetGrips(Double, Int32))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNextGripLevel
(Inherited from HitTestObjectBase)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnDoubleClick This handles the double-click event
(Inherited from HitTestObjectBase)
Public methodShiftPosition Shifts the position of the object by x and y. Used to arrange objects.
(Overrides HitTestObjectBaseShiftPosition(Double, Double))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTransform Appends a transformation to the transformation matrix of the hit test object. Call this while walking down the hierarchie of objects.
(Overrides HitTestObjectBaseTransform(MatrixD2D))
Top
Fields
 NameDescription
Protected field_hitobjectThe hitted object.
(Inherited from HitTestObjectBase)
Protected field_matrix Transformation matrix which transforms the coordinates of the parent of the hitted object (i.e. the parent layer) into page coordinates.
(Inherited from HitTestObjectBase)
Protected field_objectPath Path of the outline of the object. Is used to arrange objects. The path is in page coordinates.
Top
See Also