Share via


DrawingContext.Translate Method

Translates (moves) the most recently drawn image by the specified amount on the drawing surface.

Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public void Translate (
         intdx,
         intdy
)

Parameters

  • dx
    The horizontal distance to translate the image.
  • dy
    The vertical distance to translate the image.

Remarks

The horizontal and vertical translations are relative to the upper left point of the image.

See Also

Reference

DrawingContext Class
DrawingContext Members
Microsoft.SPOT.Presentation.Media Namespace