Hit |
public abstract class HitTestObjectBase : IHitTestObject
The HitTestObjectBase type exposes the following members.
| Name | Description | |
|---|---|---|
| HitTestObjectBase | Creates a new HitTestObject. |
| Name | Description | |
|---|---|---|
| DoubleClick | Delegate to handle double click events. Should return true if the object was removed during the processing. Otherwise returns false. | |
| HittedObject | Gets or sets the object that corresponds to the selection path. | |
| ObjectOutlineForArrangements | 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. | |
| ParentLayer | Gets or sets the parent layer of the hit object. | |
| Remove | Handler to remove the hitted object. Should return true if the object is removed, otherwise false. | |
| Transformation | 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. |
| Name | Description | |
|---|---|---|
| ChangeSize | Changes the size of the hitted item either in x or in y direction. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetGrips | Shows the grips, i.e. the special areas for manipulation of the object. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetNextGripLevel | Retrieves the next grip level. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnDoubleClick | This handles the double-click event | |
| ShiftPosition | Shifts the position of the object by x and y. Used to arrange objects. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Transform | Appends a transformation to the transformation matrix of the hit test object. Call this while walking down the hierarchie of objects. |
| Name | Description | |
|---|---|---|
| _hitobject | The hitted object. | |
| _matrix | Transformation matrix which transforms the coordinates of the parent of the hitted object (i.e. the parent layer) into page coordinates. |