Method UpdatePosition
UpdatePosition(IRange, int, int, int, int)
When implemented by a class, updates specified position by DeltaX and DeltaY values for specific IRange
.
bool UpdatePosition(IRange range, int x, int y, int deltaX, int deltaY)
Parameters
range
IRangeIRange
to update.x
intIndex of current character in the text.
y
intIndex of current line in the text.
deltaX
intHorizontal displacement.
deltaY
intVertical displacement.
Returns
- bool
True if succeed; otherwise false.