/** * <summary> * Draws an empty rectangle at a specified position. * <para> * </para> * </summary> * <param name="x1"> * the distance from left of layer to the left border of the rectangle, in pixels * </param> * <param name="y1"> * the distance from top of layer to the top border of the rectangle, in pixels * </param> * <param name="x2"> * the distance from left of layer to the right border of the rectangle, in pixels * </param> * <param name="y2"> * the distance from top of layer to the bottom border of the rectangle, in pixels * </param> * <returns> * <c>0</c> if the call succeeds. * </returns> * <para> * On failure, throws an exception or returns a negative error code. * </para> */ public virtual int drawRect(int x1, int y1, int x2, int y2) { return(_objptr.drawRect(x1, y1, x2, y2)); }