Responsible for relayouting images on the navigator canvas.
More...
List of all members.
Public Member Functions |
| ImageLayouter (Vector canvasCenter) |
| Creates a new ImageLayouter object.
|
void | PositionImage (Image image, Vector mdsImagePos, int positionAnimationTime) |
| Positions a given image via a transform. Animates the image transform smoothly.
|
void | RotateImage (Image image) |
| Rotates all image to new positions. Currently unused.
|
void | OffsetImage (Image image, Vector imageCenterOffset, int offsetAnimationTime) |
| Re-Offsets the given Image on the Canvas, and animating it smoothly.
|
Public Attributes |
Vector | canvasCenterOffset |
Properties |
double | DistanceScale [get, set] |
Detailed Description
Responsible for relayouting images on the navigator canvas.
Constructor & Destructor Documentation
VisWpf.UI.ImageLayouter.ImageLayouter |
( |
Vector |
canvasCenter | ) |
|
Creates a new ImageLayouter object.
- Parameters:
-
canvasCenter | The center position of the Canvas in Canvas coordinates |
Member Function Documentation
void VisWpf.UI.ImageLayouter.OffsetImage |
( |
Image |
image, |
|
|
Vector |
imageCenterOffset, |
|
|
int |
offsetAnimationTime |
|
) |
| |
Re-Offsets the given Image on the Canvas, and animating it smoothly.
- Parameters:
-
image | The image to offset |
imageCenterOffset | The offset vector to add or subtract |
offsetAnimationTime | The time the offset animation should take. |
void VisWpf.UI.ImageLayouter.PositionImage |
( |
Image |
image, |
|
|
Vector |
mdsImagePos, |
|
|
int |
positionAnimationTime |
|
) |
| |
Positions a given image via a transform. Animates the image transform smoothly.
- Parameters:
-
image | The image to position |
mdsImagePos | The new Image position |
positionAnimationTime | The time the animation should take. |
void VisWpf.UI.ImageLayouter.RotateImage |
( |
Image |
image | ) |
|
Rotates all image to new positions. Currently unused.
- Parameters:
-
The documentation for this class was generated from the following file:
- D:/mydata/Dokumente/Visual Studio 2010/Projects/VisWpf/VisWpf/UI/ImageLayouter.cs