CN109242936A - Draw method, apparatus, storage medium and the electronic equipment of object content data - Google Patents

Draw method, apparatus, storage medium and the electronic equipment of object content data Download PDF

Info

Publication number
CN109242936A
CN109242936A CN201810996256.0A CN201810996256A CN109242936A CN 109242936 A CN109242936 A CN 109242936A CN 201810996256 A CN201810996256 A CN 201810996256A CN 109242936 A CN109242936 A CN 109242936A
Authority
CN
China
Prior art keywords
control
value
content data
preset condition
control property
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810996256.0A
Other languages
Chinese (zh)
Inventor
涂勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Youshi Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Youshi Network Technology Co Ltd filed Critical Guangzhou Youshi Network Technology Co Ltd
Priority to CN201810996256.0A priority Critical patent/CN109242936A/en
Publication of CN109242936A publication Critical patent/CN109242936A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the present application provides a kind of method, apparatus, storage medium and electronic equipment for drawing object content data, wherein method includes: that preset condition is arranged by animation component, to update the value of control property according to the preset condition;After the value for updating the control property, control draws control and draws the object content data according to its updated value, so as to repeatedly update the value of control property according to preset condition, and it repeatedly redraws, and the update opportunity of the value by control control property, it can control the switching at multiple static status display interfaces, and then only can draw control by one and the Dynamically Announce effect of object content data can be realized, implementation is simple and reduces the loss of system.

Description

Draw method, apparatus, storage medium and the electronic equipment of object content data
Technical field
The invention relates to technical field of data processing more particularly to it is a kind of draw object content data method, Device, storage medium and electronic equipment.
Background technique
In order to attract more users, present mobile terminal can use some novelties when designing page interaction mostly Dynamically Announce effect, the function of some keys when special, by design Dynamically Announce effect, can be used family at the first time Just notice.
But existing client draws control and only supports static drafting effect mostly, to realize dynamic display Effect needs multiple drafting controls to draw the content of static effects respectively, then its each content for drawing ActiveX drafting is carried out Synthesis display, to reach dynamic display effect.For example, to draw the dynamic effect of text bounce in Android system, need To use multiple TextView controls, the corresponding TextView control of the text of each bounce, then by multiple TextView Control combines, and realizes the Dynamically Announce effect of text bounce.
But this method is when in use, modifies if necessary, such as changes the text number of bounce, then needs to increase Add deduct few TextView control, and modifies the combination of multiple TextView controls, and scalability is poor, and is making When need multiple TextView controls to be used cooperatively, implementation is complicated, larger to the loss of Android system.
Summary of the invention
The embodiment of the present application be designed to provide it is a kind of draw the method, apparatus of object content data, storage medium and Electronic equipment, to reduce loss of the Dynamically Announce effect to system.
According to the first aspect of the embodiment of the present application, a kind of method for drawing object content data is provided comprising:
Preset condition is set by animation component, to update the value of control property according to the preset condition;
After the value for updating the control property, control draws control and draws the object content according to its updated value Data.
Optionally, in the application any embodiment, the drafting control includes Word-Drawing control or graphic plotting control Part, corresponding, the object content data are word content data or graphical content data.
Optionally, in the application any embodiment, preset condition is arranged by animation component, according to the preset condition Updating the control property includes:
Floating parameter is defined by animation component, and preset condition is set;
According to the preset condition, the value for calculating the floating parameter is updated;
The value of the floating parameter is given to the control property, to update the value of the control property.
Optionally, in the application any embodiment, the value by the floating parameter is given to the control property, with The value for updating the control property includes:
When the value for listening to the floating parameter changes, the animation component is adjusted back, by the floating parameter Value be given to the control property.
Optionally, in the application any embodiment, it includes at least one of that preset condition, which is arranged, by animation component:
The variation range of the value of the control property is set by the animation component, institute is arranged by the animation component It states the change frequency of the value of control property, call interpolation device to calculate the control property for update by the animation component Value.
Optionally, in the application any embodiment, when object content data be word content data and including it is multiple when, control It makes the drafting control to be specifically included according to its described object content data of updated value drafting: the control drafting control root Multiple word content data are individually drawn according to the value of the updated control property.
Optionally, in the application any embodiment, further includes: setting is distinguished to multiple word content data, it is corresponding , carrying out individually drafting to multiple word content data according to the value of the updated control property includes:
According to the updated value of the control property, to the segment word for distinguishing setting in the multiple word content data Content-data is individually drawn;
Value before being updated according to the control property, will be in the text except the segment word content-data of division setting Hold data individually to be drawn.
According to the second aspect of the embodiment of the present application, a kind of device for drawing object content data is provided comprising:
First program unit, for preset condition to be arranged by animation component, to update control according to the preset condition The value of attribute;
Second program unit, after the value for updating the control property, it is updated according to its that control is drawn in control Value draws the object content data.
In terms of according to the third of the embodiment of the present application, a kind of storage medium is provided, being stored thereon with computer can hold Row instruction, the computer executable instructions execute following steps when being processed by the processor:
Preset condition is set by animation component, to update the value of control property according to the preset condition;
After the value for updating the control property, control draws control and draws object content number according to its updated value According to.
According to the 4th of the embodiment of the present application the aspect, a kind of electronic equipment is provided, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes method as described above.
Preset condition is arranged by animation component in the scheme provided by the embodiments of the present application for drawing object content data, with The value of control property is updated according to the preset condition;After the value for updating the control property, control draws control according to it Updated value draws the object content data.So as to repeatedly update the value of control property according to preset condition, then may be used Control is drawn with control repeatedly to be redrawn, and the interface of the static status display of multiple object content data is obtained.By controlling control The update opportunity of the value of attribute can control the switching at multiple static status display interfaces, and then can only pass through a drafting control The Dynamically Announce effect of object content data can be realized, implementation is simple and reduces the loss of system;And by more Change the preset condition of setting, such as change change frequency, variation function etc., that is, it is convenient to the dynamic of change object content data Display effect, and then be extended or modify with can be convenient.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application embodiment can also obtain according to these attached drawings for those of ordinary skill in the art Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of method for drawing object content data provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another method for drawing object content data provided by the embodiments of the present application;
Fig. 3 is a kind of position exemplary diagram of relation line and word content provided by the embodiments of the present application;
Fig. 4 is a kind of apparatus structure schematic diagram for drawing object content data provided by the embodiments of the present application;
Fig. 5 is the hardware structural diagram for some electronic equipments that the application executes the above method.
Specific embodiment
Presently filed embodiment is described in detail below in conjunction with accompanying drawings and embodiments, how the application is applied whereby Technological means solves technical problem and reaches the realization process of technical effect to fully understand and implement.
Embodiment one
Fig. 1 is a kind of flow diagram of method for drawing object content data provided by the embodiments of the present application, such as Fig. 1 institute Show comprising:
S11, preset condition is arranged by animation component, to update the value of control property according to the preset condition.
Method provided in this embodiment can be adapted for Android or IOS system, then drafting provided by the embodiments of the present application Control is to draw control used in Android or IOS, and being used to draw in interface needs content to be shown.
Draw control control property can there are many, for example, if draw control be Word-Drawing control, the target of drafting Content-data is word content, then rendering attribute may include the baseline for drawing text, upper subscript baseline, the word for drawing text Body, color, background, size etc.;Certainly, drawing control can also be Chart Control etc., and the object content data of drafting are Graphical content data etc., the present embodiment is to this without limiting.
In the present embodiment, the control property of update can have one kind, can also there are many.If the control property updated has more Kind, then a corresponding preset condition can be arranged by animation component for each control property, the present embodiment is herein not It is defined.
In the present embodiment, after control property determines, content can be drawn on boundary for target according to control property by drawing control Face is drawn, in existing system draw control be only capable of the control property based on setting to target draw content carry out standard draw System, can not change the value of control property automatically, can not draw complicated dynamic effect, and it is static aobvious for drawing out The interface shown.
In the present embodiment, animation component can be the animation component applied in Android or IOS system.It is specifically as follows Animator.Preset condition, such as variation range, variation function, change frequency etc. can be set by Animator.Setting is pre- If after condition, Animator can be calculated according to preset condition, to update the value of control property.
S12, after updating the value of the control property, control draws control according to its updated value drafting target Content-data.
In the present embodiment, after the value for determining control property updates, i.e., controllable control of drawing is redrawn, thus according to Updated rendering attribute draws object content data, come draw another object content data static status display interface.
In the present embodiment, the value of control property can be repeatedly updated according to preset condition, then can control draw control into Row is repeatedly redrawn, and obtains the interface of the static status display of multiple object content data.By control control property value update when Machine can control the switching at multiple static status display interfaces, and then object content only can be realized by a drafting control The Dynamically Announce effect of data, implementation is simple and reduces the loss of system;And the preset condition being arranged by change, Such as change change frequency, variation function etc., that is, it is convenient to the Dynamically Announce effect of change object content data, and then can be with It is easily extended or modifies.
Embodiment two
Fig. 2 is the flow diagram of another method for drawing object content data provided by the embodiments of the present application, Fig. 2 with For Android system, the detailed process for the method for drawing object content data is illustrated, as shown in Fig. 2, comprising:
S21, floating parameter is defined by animation component, and preset condition is set.
In the present embodiment, an Animator control can be first established, certainly, if Animator control has existed, nothing It need to resettle.
In the prior art, Animator control is generally used cooperatively with Animation, and Animation can establish certain The animation effect of one object, Animator control combine multiple Animation, control between multiple Animation The linking of animation effect, and then show a complete animation effect.
In the present embodiment, the effect of multiple Animation can be connected using Aniamtor, is defined by Aniamtor Floating parameter simultaneously defines preset condition.
Specifically, in the present embodiment, a floating parameter is defined by Aniamtor and is specifically as follows, by the value of Animator As floating parameter, i.e. valueAnimator.
In addition, since different control properties needs to be arranged different preset conditions, while in order to show different move State bandwagon effect is also required to that different preset conditions is arranged.Therefore, in the present embodiment, preset condition needs true according to control property It is fixed, so that the value of floating parameter is matched with control property.Below with Word-Drawing ActiveX drafting word content to this progress It illustrates.
Specifically, as shown in figure 3, needing first to determine a plurality of relation line when drawing text " My text line 1. ", A plurality of relation line is then based on to draw word content data.A plurality of relation line from top to bottom can specifically include Top, Ascent,baseline,descent,bottom.When drawing, the position of baseline is first determined mostly, is then based on The position of baseline determines the position of other relation lines, therefore, is specifically described by taking baseline as an example below.
Specifically, preset condition is arranged by animation component includes at least one of: being arranged by the animation component The range of the value of the control property is arranged the change frequency of the value of the control property by the animation component, passes through institute State the value for the control property that animation component calls interpolation device to calculate for update.
When the position of preset condition and baseline match, preset condition be can specifically include: the variation of baseline Range, variation formula, change frequency etc..
The variation range of baseline can determine that the range of Word-Drawing is generally based on the range for drawing text Baseline ± ascent/2, then can be by the value variation range of Animator setting valueAnimator (0, ascent/2);The variation formula of Baseline can be arbitrarily arranged, for example, the changing value of baseline is linear when default Variation, if wanting to realize the visual effect of bounce, sin function can be set by variation formula, function calculates specifically can be with It is realized by difference device;The change frequency of baseline equally directly can also be arbitrarily configured by animator.
Furthermore it is also possible to which refresh time etc. is arranged by animator, the present embodiment is to this without limiting.
Certainly, after determining Word-Drawing control, the positional relationship of each relation line therein is had also determined that, then originally In embodiment, preset condition corresponding with other relation lines, such as preset condition corresponding with ascent, this reality can also be set Example is applied to this without limiting.
S22, according to the preset condition, calculate the value of the floating parameter.
It is arranged after preset condition, can be calculated according to the preset condition of setting, specifically calculation method is according to setting The preset condition set determines.Such as in above-mentioned steps, includes sin function in preset condition, then ginseng of floating is calculated according to sin function Several values.
S23, the value of the floating parameter is given to the control property, to update the value of the control property.
In the present embodiment, due to floating parameter value and be not fixed, then the value of floating parameter can be given to another change Shift is measured to be recorded.
Specifically, in the present embodiment, when can be by changing in the value for listening to the floating parameter, described in readjustment The value of the floating parameter is given to the control property by animation component.
When animation component is Animator control, to realize the monitoring of floating parameter valueAnimator, then need to make With the ValueAnimator.onUpdateListener interface of Animator control, the corresponding function of this interface OnAnimationUpdate () can be passed to valueAnimator parameter the most in this function, when this parameter updates, Function can execute the movement of response, then can determine whether the value of floating parameter changes by monitoring this function.
It, can be according to another variable shift identical with the value of floating parameter more when determining that FLOAT function changes The value of new control property, to execute step S24.
S24, it after updating the value of the control property every time, controls the drafting control and is drawn according to its updated value Make the object content data.
In the present embodiment, by taking control property is baseline as an example, it is illustrated.
After determining that baseline updates, it can invalidate () is redrawn by function triggering, so that Texeview repaints word content data.For example, update after control property baseline value are as follows: baseline+ Ascent (value that the value of i.e. original baseline increases original ascent) when then redrawing, can pass through texeview tune With subscript drafting function, segment word content-data is plotted as by subscript according to the value of the control property baseline redefined The word content of form;After the value of control property baseline updates again, value is baseline (i.e. original baseline Value), then when redrawing, can the value by texeview based on baseline normally draw word content data;Control property After the value of baseline updates again, value are as follows: (value of i.e. original baseline subtracts original baseline-ascent The value of ascent), then when redrawing, subscript drafting function can be called by texeview, according to the control property redefined Segment word content-data is plotted as the word content of the form of subscripts by the value of baseline;The value of control property baseline is again After secondary update, value is baseline (value of i.e. original baseline), then when redrawing, can be based on by texeview The value of baseline normally draws word content data.Certainly, it is only illustrated here by the value of three baseline, When being drawn, if the value of baseline is other values, still word content data can be plotted as by subscript by the above method The word content of form or the word content of the form of subscripts, the present embodiment is to this without limiting.
When aforementioned update is performed a plurality of times, redrawing, the value of control property baseline can also be advised according to the variation of sin function Rule is that range constantly changes with (baseline+ascent, baseline-ascent), so that the word content data drawn are not Disconnected ground changes up and down, and then the Dynamic Display effect of word content bounce may be implemented.
Specifically, when object content data be word content data when, if word content data include it is multiple, control institute State drafting control to be specifically included according to its described object content data of updated value drafting: the control drafting control is according to more The value of the control property after new individually draws multiple word content data, to realize multiple word content data Differentiation show.
In the present embodiment, when being individually plotted as drawing multiple word content data, the corresponding category of each word content data Property be individually determined, for example, when word content data be " jumping " when, the same control number of each word content data According to being individually determined, the same control property can be the same or different.
When the value of the control property of two word content data has differences, the display effect of two word content data It has differences, i.e. two word content data carry out differentiation and show.
Differentiation, which is shown, to be specifically as follows: the Dynamic Display effect that multiple word content data are shown is different, or will be more Part in a word content data carries out the presence of delay etc. between Dynamic Display or the dynamic effect of multiple content-datas.
Further, when word content data include multiple, setting can be distinguished to multiple word content data, Corresponding, individually draw to multiple word content data according to the value of the updated control property includes: according to control The updated value of part attribute individually draws the segment word content-data that setting is distinguished in multiple word content data; Value before being updated according to control property carries out the word content data except the segment word content-data of division setting single It solely draws, to realize regional dynamics bandwagon effect.
For example, when using texeview control, if word content data are " Jumping ", it can be set by span Set that initial position is 3, end position is " text size of Jumping ", then " " ing " in Jumping " may be implemented it is above-mentioned Dynamic Display effect.
For example, when drawing word content data above by subscript drafting function, subscript drafting function, if word content number It is multiple according to having, then it can use Android system included updateMeasureState, updateDrawState and individually adjust need It is plotted as the value of the control property of subscript or lower target segment word content-data, to complete individually to draw.
Certainly, the value of other control properties can also by Android system carry updateMeasureState, UpdateDrawState is adjusted, and the present embodiment is to this without limiting.
Further, setting can also be repeatedly distinguished, is arranged so that multiple object content numbers are divided into multiple differentiations Partial content data, each partial content data for distinguishing setting can correspond to the control category of different preset conditions, change Property can also be different, so that multiple Dynamic Display effects are presented in multiple object content data.
For example, when using texeview control, if word content data are " Jumping ", the dynamic of " jump " is set State bandwagon effect is set as Dynamic Display effect of bounce etc. for the Dynamic Display effect of background transparent degree variation, by " ping ".
Fig. 4 is a kind of apparatus structure schematic diagram for drawing object content data provided by the embodiments of the present application, as shown, Comprising:
First program unit 401 is controlled for preset condition to be arranged by animation component with being updated according to the preset condition The value of part attribute.
Second program unit 402, after the value for updating the control property, control is drawn after control updates according to it Value draw the object content data.
Optionally, in the present embodiment, the drafting control includes Word-Drawing control or Chart Control, is corresponded to , the object content data are word content data or graphical content data.
Optionally, in the present embodiment, the first program unit is specifically included:
For defining floating parameter by animation component, and preset condition is arranged in first subroutine unit 4011;
Second subroutine unit 4012, for updating the value for calculating the floating parameter according to the preset condition;
Third subroutine unit 4013, for the value of the floating parameter to be given to the control property, to update State the value of control property.
Optionally, in the present embodiment, third subroutine unit is specifically used for:
When the value for listening to the floating parameter changes, the animation component is adjusted back, by the floating parameter Value be given to the control property.
Optionally, in the present embodiment, it includes at least one of that preset condition, which is arranged, by animation component:
The variation range of the value of the control property is set by the animation component, institute is arranged by the animation component It states the change frequency of the value of control property, call interpolation device to calculate the control property for update by the animation component Value.
Optionally, in the present embodiment, when object content data be word content data and including it is multiple when, the second program list Member is specifically used for the control drafting control and is carried out according to the value of the updated control property to multiple word content data Individually draw.
Optionally, in the present embodiment, the device of object content data is drawn further include: carry out to multiple word content data Setting is distinguished, corresponding, the second program unit includes:
According to the updated value of the control property, to the segment word for distinguishing setting in the multiple word content data Content-data is individually drawn;Value before being updated according to the control property, the segment word content number that division is arranged Word content data except are individually drawn.
Another embodiment of the application provides a kind of storage medium, is stored thereon with computer executable instructions, the calculating Machine executable instruction executes following steps when being processed by the processor:
Preset condition is set by animation component, to update the value of control property according to the preset condition;
After the value for updating the control property, control draws control and draws the object content according to its updated value Data.
Another embodiment of the application also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes method as described above.
Fig. 5 is the hardware structural diagram for some electronic equipments that the application executes the above method.According to Fig.5, should Equipment includes:
One or more processors 51 and memory 52, in Fig. 5 by taking a processor 51 as an example.
The equipment for executing the method for drawing object content data can also include: input unit 53 and output device 54.
Processor 51, memory 52, input unit 53 and output device 54 can be connected by bus or other modes, In Fig. 5 for being connected by bus.
Memory 52 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, such as the method for the drafting object content data in the embodiment of the present application Corresponding program instruction/module.Processor 51 by operation be stored in memory 52 non-volatile software program, instruction with And module draws mesh in realization above method embodiment thereby executing the various function application and data processing of server The method for marking content-data.
Memory 52 may include storing program area and storage data area, wherein storing program area can storage program area, Application program required at least one function;Storage data area can store the when data that are created for drawing object content data Deng.In addition, memory 52 may include high-speed random access memory 52, it can also include nonvolatile memory 52, such as At least one magnetic disk storage 52, flush memory device or other non-volatile solid state memories 52.In some embodiments, Optional memory 52 includes the memory 52 remotely located relative to processor 51, these remote memories 52 can pass through network It is connected to client.The example of above-mentioned network include but is not limited to internet, intranet, local area network, mobile radio communication and A combination thereof.
Input unit 53 can receive the number or character information of input, and generate the user setting and function with client It can control related key signals input.Input unit 53 may include by equipment such as pressing mold groups.
One or more of modules are stored in the memory 52, when by one or more of processors 51 When execution, the method for drawing object content data in above-mentioned any means embodiment is executed.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: the equipment of the service of calculating is provided, the composition of server includes processor 71, hard disk, memory, system Bus etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein described, module can as illustrated by the separation member It is physically separated with being or may not be, the component shown as module may or may not be physics mould Block, it can it is in one place, or may be distributed on multiple network modules.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, the computer readable recording medium include for Any mechanism of the readable form storage of computer (such as computer) or transmission information.For example, machine readable media includes only Read memory (ROM), random access memory (RAM), magnetic disk storage medium, optical storage media, flash medium, electricity, light, Sound or the transmitting signal (for example, carrier wave, infrared signal, digital signal etc.) of other forms etc., which includes Some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes respectively Method described in certain parts of a embodiment or embodiment.
It will be understood by those skilled in the art that the embodiments of the present application may be provided as method, apparatus (equipment) or Computer program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine soft The form of the embodiment of part and hardware aspect.Moreover, it wherein includes to calculate that the embodiment of the present application, which can be used in one or more, Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, the optical memory of machine usable program code Deng) on the form of computer program product implemented.
The embodiment of the present application is referring to the method, apparatus (equipment) and computer program product according to the embodiment of the present application Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the embodiment of the present application, rather than it is limited System;Although the application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: its It is still possible to modify the technical solutions described in the foregoing embodiments, or part of technical characteristic is equal Replacement;And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution Spirit and scope.

Claims (10)

1. a kind of method for drawing object content data characterized by comprising
Preset condition is set by animation component, to update the value of control property according to the preset condition;
After the value for updating the control property, control draws control and draws the object content number according to its updated value According to.
2. the method according to claim 1, wherein the drafting control includes Word-Drawing control or figure Control is drawn, corresponding, the object content data are word content data or graphical content data.
3. the method according to claim 1, wherein preset condition is arranged by animation component, according to Preset condition updates the control property
Floating parameter is defined by animation component, and preset condition is set;
According to the preset condition, the value for calculating the floating parameter is updated;
The value of the floating parameter is given to the control property, to update the value of the control property.
4. according to the method described in claim 3, it is characterized in that, the value by the floating parameter is given to the control Attribute includes: to update the value of the control property
When the value for listening to the floating parameter changes, the animation component is adjusted back, by the value of the floating parameter It is given to the control property.
5. method according to claim 1-4, which is characterized in that preset condition, which is arranged, by animation component includes At least one of:
The variation range of the value of the control property is set by the animation component, the control is arranged by the animation component The change frequency of the value of part attribute calls interpolation device to calculate the control property for being used for update by the animation component Value.
6. method according to claim 1-4, which is characterized in that when object content data are word content data And including it is multiple when, control the draftings control and specifically included according to its described object content data of updated value drafting: being controlled The drafting control is made individually to draw multiple word content data according to the value of the updated control property.
7. according to the method described in claim 6, being set it is characterized by further comprising: being distinguished to multiple word content data It sets, corresponding, carrying out individually drafting to multiple word content data according to the value of the updated control property includes:
According to the updated value of the control property, to the segment word content for distinguishing setting in the multiple word content data Data are individually drawn;
Value before being updated according to the control property, by the word content number except the segment word content-data of division setting According to individually being drawn.
8. a kind of device for drawing object content data characterized by comprising
First program unit, for preset condition to be arranged by animation component, to update control property according to the preset condition Value;
Second program unit, after the value for updating the control property, control is drawn control and is drawn according to its updated value Make the object content data.
9. a kind of storage medium, which is characterized in that be stored thereon with computer executable instructions, the computer executable instructions Following steps are executed when being processed by the processor:
Preset condition is set by animation component, to update the value of control property according to the preset condition;
After the value for updating the control property, control draws control and draws object content data according to its updated value.
10. a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-7.
CN201810996256.0A 2018-08-29 2018-08-29 Draw method, apparatus, storage medium and the electronic equipment of object content data Pending CN109242936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810996256.0A CN109242936A (en) 2018-08-29 2018-08-29 Draw method, apparatus, storage medium and the electronic equipment of object content data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810996256.0A CN109242936A (en) 2018-08-29 2018-08-29 Draw method, apparatus, storage medium and the electronic equipment of object content data

Publications (1)

Publication Number Publication Date
CN109242936A true CN109242936A (en) 2019-01-18

Family

ID=65068796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810996256.0A Pending CN109242936A (en) 2018-08-29 2018-08-29 Draw method, apparatus, storage medium and the electronic equipment of object content data

Country Status (1)

Country Link
CN (1) CN109242936A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858421A (en) * 2019-01-24 2019-06-07 广东第二师范学院 A kind of Android platform person's handwriting back method and device based on scalable vector graphics
CN112256346A (en) * 2020-10-14 2021-01-22 北京字跳网络技术有限公司 Control display method and device and electronic equipment
CN113033147A (en) * 2021-03-26 2021-06-25 北京字节跳动网络技术有限公司 Text processing method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030231218A1 (en) * 2002-06-14 2003-12-18 Lou Amadio System and method for indicating the focused control on a graphical user interface
US20090322760A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Dynamic animation scheduling
CN101980154A (en) * 2010-11-02 2011-02-23 深圳市融创天下科技发展有限公司 Method and system for creating and drawing interface control tree and mobile terminal
CN106648639A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Android system-based text gradient method and system
CN108304182A (en) * 2018-02-14 2018-07-20 飞天诚信科技股份有限公司 A kind of implementation method and device of the control for supporting nested window

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030231218A1 (en) * 2002-06-14 2003-12-18 Lou Amadio System and method for indicating the focused control on a graphical user interface
US20090322760A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Dynamic animation scheduling
CN101980154A (en) * 2010-11-02 2011-02-23 深圳市融创天下科技发展有限公司 Method and system for creating and drawing interface control tree and mobile terminal
CN106648639A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Android system-based text gradient method and system
CN108304182A (en) * 2018-02-14 2018-07-20 飞天诚信科技股份有限公司 A kind of implementation method and device of the control for supporting nested window

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858421A (en) * 2019-01-24 2019-06-07 广东第二师范学院 A kind of Android platform person's handwriting back method and device based on scalable vector graphics
CN109858421B (en) * 2019-01-24 2023-06-06 广东第二师范学院 Android platform handwriting playback method and device based on scalable vector graphics
CN112256346A (en) * 2020-10-14 2021-01-22 北京字跳网络技术有限公司 Control display method and device and electronic equipment
CN113033147A (en) * 2021-03-26 2021-06-25 北京字节跳动网络技术有限公司 Text processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110600000B (en) Voice broadcasting method and device, electronic equipment and storage medium
CN109242936A (en) Draw method, apparatus, storage medium and the electronic equipment of object content data
JP2021009669A (en) Method and apparatus for controlling mouth shape change of three-dimensional virtual portrait
US20150070362A1 (en) Information display device, display switching method, and display switching program
CN102810134A (en) Game device and game program
KR102697680B1 (en) Variable-speed phonetic pronunciation machine
CN103927175A (en) Method with background interface dynamically changing along with audio and terminal equipment
CN105141587A (en) Virtual doll interaction method and device
CN113112986A (en) Audio synthesis method, apparatus, device, medium, and program product
KR20190141542A (en) Apparatus and method for providing game
CN112581946A (en) Voice control method and device, electronic equipment and readable storage medium
CN106250153A (en) A kind of user interface control method and equipment
KR102218640B1 (en) Display device and controlling method of display device
US9165476B2 (en) Portable piano keyboard computer
CN109976632A (en) text animation control method and device, storage medium and processor
CN103780942A (en) Information configuration method and device thereof
CN106303722B (en) animation playing method and device
CN111158802B (en) Audio playing method, equipment, client device and electronic equipment
CN112017261B (en) Label paper generation method, apparatus, electronic device and computer readable storage medium
EP4339759A1 (en) Music playing method and device
CN110600021A (en) Outdoor intelligent voice interaction method, device and system
CN109992268A (en) Play frame implementation method, device, electronic equipment, storage medium
KR101806922B1 (en) Method and apparatus for producing a virtual reality content
CN115273808A (en) Sound processing method, storage medium and electronic device
CN113257223A (en) Voice playing system, voice playing tone configuration method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200525

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 15 layer self unit 02

Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118