move

move — move, translate, a graphic entity and its children.

Calling sequence

move(h,xy) 
move(h,xy,"alone") 

Parameters

h : a handle, the handle of the entity to move.
xy : an array [dx,dy] which gives the translation vector to apply.
"alone" : string keyword (optional).

Description

This routine can be used to apply a translation to a graphics entity. If the entity has children, they will be also translated.

Given the keyword "alone" , only the specified entity needs to be redraw. It must specially be used with the pixel_drawing_mode property of the figure entity (see draw objects under "xor" drawing mode).

Examples

See also

get, set, draw, figure_properties, graphics_entities

Author

Djalel ABDEMOUCHE