Region.translate

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

@param x the x coordinate of the point to translate @param y the y coordinate of the point to translate

@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)
    class Region
    void
    translate
    (
    int x
    ,
    int y
    )
  2. void translate(Point pt)

Meta