ImageCloud
 All Classes Namespaces Functions Variables Enumerations Properties Events
Public Member Functions | Public Attributes | Properties
VisWpf.UI.ImageLayouter Class Reference

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:
canvasCenterThe 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:
imageThe image to offset
imageCenterOffsetThe offset vector to add or subtract
offsetAnimationTimeThe 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:
imageThe image to position
mdsImagePosThe new Image position
positionAnimationTimeThe time the animation should take.
void VisWpf.UI.ImageLayouter.RotateImage ( Image  image)

Rotates all image to new positions. Currently unused.

Parameters:
imageThe image to rotate

The documentation for this class was generated from the following file: