Region.translate

Translate all of the polygons the receiver maintains to describe its area by the specified point.

@param pt the point to translate

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the argument is null</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

@since 3.1

  1. void translate(int x, int y)
  2. void translate(Point pt)
    class Region
    void
    translate

Meta