Method | Description | |
---|---|---|
Add ( Value item ) : void |
Adds the specified value into the point index. The location in the index is determined by its y-coordinate relative to other items already in the list. The resulting index will be sorted from lowest y-coordinate to highest.
|
|
Get ( int index ) : Value |
Returns the index value at the given index location.
|
|
GetPotentialItem ( |
Returns the item if the target point has a hit test match in the index.
|
|
IndexOf ( |
Returns the index location for a given point in the index.
|
|
IndexOf ( Value point ) : int |
Returns the index location of a given value in the index.
|
|
Remove ( string id ) : void | ||
ShuffleItems ( int oldIndex, int newIndex ) : void |
Swaps the indexed items beginning with the old index until the new index.
|
Method | Description | |
---|---|---|
Adjust ( int startIndex, double offset ) : void | ||
FindSuitableIndex ( |
||
SwapIndex ( int indexFrom, int indexTo ) : void |
public GetPotentialItem ( |
||
targetPoint | Point to do a hit test against | |
return | Value |
public IndexOf ( |
||
point | The point to do a hit test against. | |
return | int |
public ShuffleItems ( int oldIndex, int newIndex ) : void | ||
oldIndex | int | |
newIndex | int | |
return | void |