Summary of the invention
Embodiments providing a kind of object's position method of adjustment and device, solving to move at present has
When the figure of text, text box, on the frame of figure, drag figure with mouse after needing to choose figure and enter
The design of row movement, adjusting graph position when, it is not known that the actual coordinate of figure, needs belonging to
Property window in the actual coordinate of figure just can be found specifically how many, inconvenient, and the adjustment caused
Coarse technical problem.
A kind of object's position method of adjustment that the embodiment of the present invention provides, including:
Get object move, and show the coordinate text corresponding with described object;
Judge the type of described object move, if cursor move, then catch described smooth target
Motion track, and carry out the position corresponding with described motion track and move, if coordinate definition instruction,
Then determine the coordinate figure of amendment, and carry out the position corresponding with described coordinate figure and move.
Preferably, get object move, and show the coordinate text tool corresponding with described object
Body includes:
Described object shows preset transfer point, gets object move, and display is right with described
As corresponding coordinate text, and show the coordinate text corresponding with described object.
Preferably, catch described smooth target motion track, and carry out the position corresponding with described motion track
Put to move and specifically include:
Trigger described preset transfer point by described cursor, catch the described motion track of described cursor linkage,
Make described object carry out the position corresponding with described motion track to move.
Preferably, determine the coordinate figure of amendment, and carry out the position corresponding with described coordinate figure and move tool
Body includes:
Determine the described coordinate figure of the amendment of acquisition in real time;
Arranging described object coordinate information based on described preset transfer point is described coordinate figure;
Described object is carried out the position corresponding with described coordinate figure move.
Preferably, determine that the described coordinate figure of the amendment of acquisition in real time specifically includes:
By in the text box corresponding with described coordinate text of display, determine the amendment of acquisition in real time
Described coordinate figure.
A kind of object's position adjusting apparatus provided in the embodiment of the present invention, including:
Acquiring unit, is used for getting object move, and shows the coordinate corresponding with described object
Text;
Judging unit, for judging the type of described object move, if cursor move, then
Trigger the first mobile unit, if coordinate definition instruction, then trigger the second mobile unit;
Described first mobile unit, is used for catching described smooth target motion track, and carries out and described movement
The corresponding position of track is moved;
Described second mobile unit, for determining the coordinate figure of amendment, and carries out relative with described coordinate figure
The position answered is moved.
Preferably, described acquiring unit, specifically for showing preset transfer point on described object, obtain
To object move, and show the coordinate text corresponding with described object, and show and described object
Corresponding coordinate text.
Preferably, described first mobile unit specifically includes:
Catch subelement, for triggering described preset transfer point by described cursor, catch described cursor connection
Dynamic described motion track so that described object carries out the position corresponding with described motion track and moves.
Preferably, the second mobile unit specifically includes:
Obtain subelement, for determining the described coordinate figure of the amendment of acquisition in real time;
Subelement is set, is described for arranging described object coordinate information based on described preset transfer point
Coordinate figure;
Second mover unit, moves for described object is carried out the position corresponding with described coordinate figure.
Preferably, obtain subelement, specifically for by corresponding with described coordinate text show
In text box, determine the described coordinate figure of the amendment of acquisition in real time.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Embodiments providing a kind of object's position method of adjustment and device, wherein, object's position is adjusted
Adjusting method includes: gets object move, and shows the coordinate text corresponding with object;Judge
The type of object move, if cursor move, then catches light target motion track, and carries out
The position corresponding with motion track is moved, if coordinate definition instruction, it is determined that the coordinate figure of amendment,
And carry out the position corresponding with coordinate figure and move.In the present embodiment, by judging object move
Type, if cursor move, then catches light target motion track, and carries out relative with motion track
The position answered is moved, if coordinate definition instruction, it is determined that the coordinate figure of amendment, and carry out and coordinate figure
Corresponding position is moved, and just achieves the function that object accurately moves, and solving to move at present has text
Figure, text box time, on the frame of figure, drag figure with mouse after needing to choose figure and move
Dynamic design, adjusting graph position when, it is not known that the actual coordinate of figure, needs at attribute window
The actual coordinate that just can find figure in Kou is specifically how many, inconvenient, and the adjustment caused is the most smart
True technical problem.
Detailed description of the invention
Embodiments providing a kind of object's position method of adjustment and device, solving to move at present has
When the figure of text, text box, on the frame of figure, drag figure with mouse after needing to choose figure and enter
The design of row movement, adjusting graph position when, it is not known that the actual coordinate of figure, needs belonging to
Property window in the actual coordinate of figure just can be found specifically how many, inconvenient, and the adjustment caused
Coarse technical problem.
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will
In conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that the embodiments described below are only a part of embodiment of the present invention, and not all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creativeness
The all other embodiments obtained under work premise, broadly fall into the scope of protection of the invention.
Refer to Fig. 1, an embodiment of a kind of object's position method of adjustment provided in the embodiment of the present invention
Including:
101, get object move, and show the coordinate text corresponding with object;
In the present embodiment, when needing object is moved, such as figure, need to get object and move
Instruction, and show the coordinate text corresponding with object.
102, judge the type of object move, if cursor move, then perform step 103,
If coordinate definition instructs, then perform step 104;
When getting object move, and after showing the coordinate text corresponding with object, it is judged that right
As the type of move, if cursor move, then perform step 103, if coordinate definition instruction,
Then perform step 104.
103, catch light target motion track, and carry out the position corresponding with motion track and move;
When the type judging object move is cursor move, then catch light target motion track,
And carry out the position corresponding with motion track and move.
104, determine the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move.
When the type judging object move is coordinate definition instruction, it is determined that the coordinate figure of amendment, and
Carry out the position corresponding with coordinate figure to move.
In the present embodiment, by judging the type of object move, if cursor move, then catch
Catch light target motion track, and carry out the position corresponding with motion track and move, if coordinate definition refers to
Order, it is determined that the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move, it is right just to achieve
As the function of accurately movement, when solving that movement has the figure of text, text box at present, need to choose figure
On the frame of figure, drag, with mouse, the design that figure moves after shape, adjust graph position time
Wait, it is not known that the actual coordinate of figure, need just to find the actual coordinate of figure to have in property window
Body is how many, inconvenient, and the coarse technical problem of adjustment caused.
The above is that the process to object's position method of adjustment is described in detail, below by different fingers
Making type be described in detail, refer to Fig. 2, a kind of object's position provided in the embodiment of the present invention is adjusted
Another embodiment of adjusting method includes:
201, on object, show preset transfer point, get object move, and show and object phase
Corresponding coordinate text, and show the coordinate text corresponding with object;
In the present embodiment, when needing object is moved, such as figure, need display on object pre-
Put transfer point, get object move, and show the coordinate text corresponding with object, and show
The coordinate text corresponding with object.
Aforesaid preset transfer point can be provided in figure left upper, does not specifically limit herein.
202, judge the type of object move, if cursor move, then perform step 203,
If coordinate definition instructs, then perform step 205;
When getting object move, object shows preset transfer point, and shows relative with object
After the coordinate text answered, it is judged that the type of object move, if cursor move, then perform
Step 203, if coordinate definition instruction, then performs step 205.
203, trigger preset transfer point by cursor, catch the motion track of cursor linkage so that object enters
The row position corresponding with motion track is moved;
When the type judging object move is cursor move, then trigger preset movement by cursor
Point, catches the motion track of cursor linkage so that object carries out the position corresponding with motion track and moves.
It should be noted that aforesaid object is carried out the position corresponding with motion track move it may be that
Mobile mouse triggers cursor graphic object and moves with cursor, and after unclamping mouse, then Drawing Object stops
Mobile, hide aforesaid preset transfer point.
204, determine the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move.
When the type judging object move is coordinate definition instruction, it is determined that the coordinate figure of amendment, and
Carry out the position corresponding with coordinate figure to move.
In the present embodiment, by judging the type of object move, if cursor move, then catch
Catch light target motion track, and carry out the position corresponding with motion track and move, if coordinate definition refers to
Order, it is determined that the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move, it is right just to achieve
As the function of accurately movement, when solving that movement has the figure of text, text box at present, need to choose figure
On the frame of figure, drag, with mouse, the design that figure moves after shape, adjust graph position time
Wait, it is not known that the actual coordinate of figure, need just to find the actual coordinate of figure to have in property window
Body is how many, inconvenient, and the coarse technical problem of adjustment caused, object is entered meanwhile
The design that the row position corresponding with motion track is moved, the experience property being greatly increased and intuitive operation.
The above is that the instruction type moving cursor is described in detail, and will instruct coordinate definition below
It is described in detail, refers to Fig. 3, a kind of object's position method of adjustment provided in the embodiment of the present invention
Another embodiment include:
301, on object, show preset transfer point, get object move, and show and object phase
Corresponding coordinate text, and show the coordinate text corresponding with object;
In the present embodiment, when needing object is moved, such as figure, need display on object pre-
Put transfer point, get object move, and show the coordinate text corresponding with object, and show
The coordinate text corresponding with object.
Aforesaid preset transfer point can be provided in figure left upper, does not specifically limit herein.
302, judge the type of object move, if cursor move, then perform step 303,
If coordinate definition instructs, then perform step 305;
When getting object move, object shows preset transfer point, and shows relative with object
After the coordinate text answered, it is judged that the type of object move, if cursor move, then perform
Step 303, if coordinate definition instruction, then performs step 305.
303, trigger preset transfer point by cursor, catch the motion track of cursor linkage so that object enters
The row position corresponding with motion track is moved;
When the type judging object move is cursor move, then trigger preset movement by cursor
Point, catches the motion track of cursor linkage so that object carries out the position corresponding with motion track and moves.
It should be noted that aforesaid object is carried out the position corresponding with motion track move it may be that
Mobile mouse triggers cursor graphic object and moves with cursor, and after unclamping mouse, then Drawing Object stops
Mobile, hide aforesaid preset transfer point.
304, the coordinate figure of the amendment of acquisition in real time is determined;
When the type judging object move is coordinate definition instruction, it is determined that the amendment obtained in real time
Coordinate figure, can be by the text box corresponding with coordinate text of display, determine acquisition in real time
The coordinate figure of amendment.
305, arranging object coordinate information based on preset transfer point is coordinate figure;
After determining the coordinate figure of the amendment of acquisition in real time, needing, object is set based on preset transfer point
Coordinate information is coordinate figure.
It is understood that the aforesaid object coordinate information based on preset transfer point that arranges is that coordinate figure can
Being when coordinate text box enters input state, and display input completes button, and obtains the coordinate of input,
Completing to complete on button input, arranging object coordinate information based on preset transfer point is coordinate figure.
306, object is carried out the position corresponding with coordinate figure to move.
After arranging object coordinate information based on preset transfer point and being coordinate figure, need to carry out object
The position corresponding with coordinate figure is moved.
In the present embodiment, by judging the type of object move, if cursor move, then catch
Catch light target motion track, and carry out the position corresponding with motion track and move, if coordinate definition refers to
Order, it is determined that the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move, it is right just to achieve
As the function of accurately movement, when solving that movement has the figure of text, text box at present, need to choose figure
On the frame of figure, drag, with mouse, the design that figure moves after shape, adjust graph position time
Wait, it is not known that the actual coordinate of figure, need just to find the actual coordinate of figure to have in property window
Body is how many, inconvenient, and the coarse technical problem of adjustment caused, object is entered meanwhile
The design that the row position corresponding with motion track is moved, the experience property being greatly increased and intuitive operation,
And to arrange object coordinate information based on preset transfer point be the design of coordinate figure so that object moves more
Add accurately.
Refer to Fig. 4, an embodiment of a kind of object's position adjusting apparatus provided in the embodiment of the present invention
Including:
Acquiring unit 401, is used for getting object move, and shows the coordinate literary composition corresponding with object
This;
Judging unit 402, for judging the type of object move, if cursor move, then touches
Send out the first mobile unit 403, if coordinate definition instruction, then trigger the second mobile unit 404;
First mobile unit 403, is used for catching light target motion track, and carries out corresponding with motion track
Position move;
Second mobile unit 404, for determining the coordinate figure of amendment, and carries out the position corresponding with coordinate figure
Put movement.
In the present embodiment, judged the type of object move by judging unit 402, if cursor moves
Dynamic instruction, then catch light target motion track, and carry out the position corresponding with motion track and move, if
Instruct for coordinate definition, it is determined that the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move,
Just achieve the function that object accurately moves, solve at present mobile when having the figure of text, text box,
On the frame of figure, drag, with mouse, the design that figure moves after needing to choose figure, adjusting figure
The when of shaped position, it is not known that the actual coordinate of figure, need in property window, just can find figure
Actual coordinate is specifically how many, inconvenient, and the coarse technical problem of adjustment caused.
The above is that each unit to object's position adjusting apparatus is described in detail, below by sub-unit
It is described in detail, refers to Fig. 5, a kind of object's position adjusting apparatus provided in the embodiment of the present invention
Another embodiment include:
Acquiring unit 501, is used for getting object move, and shows the coordinate literary composition corresponding with object
This, acquiring unit 501, specifically for showing preset transfer point on object, get object move,
And show the coordinate text corresponding with object, and show the coordinate text corresponding with object;
Judging unit 502, for judging the type of object move, if cursor move, then touches
Send out the first mobile unit 503, if coordinate definition instruction, then trigger the second mobile unit 404;
First mobile unit 503, is used for catching light target motion track, and carries out corresponding with motion track
Position move;
First mobile unit 503 specifically includes:
Catch subelement 5031, for triggering preset transfer point by cursor, catch the movement of cursor linkage
Track so that object carries out the position corresponding with motion track and moves.
Second mobile unit 504, for determining the coordinate figure of amendment, and carries out the position corresponding with coordinate figure
Put movement;
Second mobile unit 504 specifically includes:
Obtain subelement 5041, for determining the coordinate figure of the amendment of acquisition in real time, obtain subelement 5041,
Specifically for by the text box corresponding with coordinate text of display, determining the amendment of acquisition in real time
Coordinate figure.
Subelement 5042 is set, is coordinate figure for arranging object coordinate information based on preset transfer point;
Second mover unit 5043, moves for object is carried out the position corresponding with coordinate figure.
In the present embodiment, judged the type of object move by judging unit 502, if cursor moves
Dynamic instruction, then catch light target motion track, and carry out the position corresponding with motion track and move, if
Instruct for coordinate definition, it is determined that the coordinate figure of amendment, and carry out the position corresponding with coordinate figure and move,
Just achieve the function that object accurately moves, solve at present mobile when having the figure of text, text box,
On the frame of figure, drag, with mouse, the design that figure moves after needing to choose figure, adjusting figure
The when of shaped position, it is not known that the actual coordinate of figure, need in property window, just can find figure
Actual coordinate is specifically how many, inconvenient, and the coarse technical problem of adjustment caused, meanwhile,
Object is carried out the design that the position corresponding with motion track is moved by the first mobile unit 503, increases greatly
The experience property added and intuitive operation, and the second mobile unit 504 arranges object based on preset transfer point
The design that coordinate information is coordinate figure so that object moves more accurate.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can embody with the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention
Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. the various media that can store program code.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.