INestedNavigation

References
public interface INestedNavigation
Implement this interface on your IAttributes class to participate in standard canvas object navigation.

Properties

MotionBoundary

#
Gets the boundary within which navigation is enabled. When in doubt, return the IAttributes.Bounds of the object.
RectangleF MotionBoundary { get; }

MotionTypes

#
Gets the supported motions on this navigation element.
MotionType MotionTypes { get; }

Methods

BeginPan

#
Begin a panning operation.
bool BeginPan(
PointF
from,
Start location of pan.
out object
state
State object which will be shared back during calls to ContinuePan(PointF, float, float, object).
)
True if panning is supposed to actually start.

BeginZoom

#
Begin a zooming operation.
bool BeginZoom(
PointF
from,
Anchor location of zoom.
out object
state
State object which will be shared back during calls to ContinueZoom(PointF, float, object).
)
True if zooming is supposed to actually start.

ContinuePan

#
Continuation of a panning operation.
bool ContinuePan(
PointF
from,
Start location of pan.
dx,
Horizontal panning amount from origin point.
dy,
Vertical panning amount from origin point.
state
Shared state.
)
True on pan, false on no change.

ContinueZoom

#
Continuation of a zooming operation using a precomputed factor.
bool ContinueZoom(
PointF
from,
Anchor location of zoom.
factor,
Zoom scale factor.
state
Shared state.
)
True on zoom, false on no change.