当前位置:网站首页>[IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me
[IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me
2022-07-02 01:14:00 【1_ bit】
Catalog
【iVX Junior engineer training course 10 Textual evidence 】01 understand iVX Complete the New Year greeting card
【iVX Junior engineer training course 10 Textual evidence 】02 Numerical binding and adaptive website production
【iVX Junior engineer training course 10 Textual evidence 】03 Events and guessing numbers games
【iVX Junior engineer training course 10 Textual evidence 】04 Canvas and me iVX Group photo
【iVX Junior engineer training course 10 Textual evidence 】05 Canvas and aircraft war game production
【iVX Junior engineer training course 10 Textual evidence 】06 Database and services
【iVX Junior engineer training course 10 Textual evidence 】07 08 News page making
【iVX Junior engineer training course 10 Textual evidence 】09 Chat room production
For high score promotion, please check the column :
iVX Beginner to master
Big talk IVX From actual combat to mastery
One 、 Canvas and image sequence
stay iVX in , Canvas is a component for flexible editing of images , If you need to fuse images , Then using canvas is your best choice .
The picture sequence is in iVX It can be regarded as a component similar to that in the figure , But it's very different from the rotation picture ; The rotation chart can operate the picture text more flexibly , The picture sequence can only play multiple pictures .
1.1 Picture sequence
The picture sequence is located on the right side of the picture in the component panel :

Take the application of relative positioning as an example , Create a relative positioning application , Add a page to the application , Click the picture sequence in the page to add ; When you click the image sequence, a resource selection window will pop up , Just select multiple pictures to create a sequence of pictures , Of course, you can also choose one gif Moving graph :
Select multiple pictures and click OK :
Click the image sequence in the object tree , Click the picture list in the properties to change the picture position :
In the picture position, you can change the playback duration of the player, etc :
Two 、 Animation and timeline
Animation in iVX It is more characteristic in , Support users to define their own animation path and animation style . Now take a text with absolute positioning as an example :
Click on the text , You can see a component on the left side of the text —— The trajectory , The track allows us to create frame animation for this component :
After adding track attributes to the text , At the bottom you can see a timeline , We can keyframe this timeline in the corresponding time seconds , Animate them in these keyframes :
You can then drag the timeline to add keys to it :
After keyframing at different time points , As shown in the figure below :
Then click on those keyframes to change the position of the text or other properties , Take location as an example :
Next, change its text position on multiple time axes :
Finally, click the track , Turn on autoplay in the properties :
After preview, the text will play the animation according to the key frame information .
3、 ... and 、 Me and iVX Group photo of
In the first point, the function of canvas is introduced , Next, let's use the canvas to synthesize a picture , And download to local .
3.1 Page drawing
The following is an example of page drawing , It needs to be noted that , Drawing pictures on the canvas is an absolute positioning environment , If you want one image to overlay another , You need a picture above another picture in the object tree .

In the above object tree, we found a file interface component , The file interface component is used to obtain and upload picture resources .
3.2 Functional production
You need to synthesize pictures freely , Let's add a click event to the canvas , Click the canvas to select the picture of local branch resources , Let's first add events to the canvas :
In the above events , Callbacks are “ After an action is done ” What needs to be done , In the example above , After reading the picture , Specify an object in the canvas and change the picture to the selected picture .
Then add an event to the composite button , After clicking the button, use the canvas to output the picture , Output to the picture outside the canvas :
The final preview is as follows :
边栏推荐
- Weather forecast applet source code weather wechat applet source code
- Global and Chinese markets for distributed generation and energy storage in telecommunications networks 2022-2028: Research Report on technology, participants, trends, market size and share
- The concept and application of Cartland number
- Circular statements in shell programming
- 只是以消费互联网的方式和方法来落地和实践产业互联网,并不能够带来长久的发展
- ACM tutorial - quick sort (regular + tail recursion + random benchmark)
- [conference resources] the Third International Conference on Automation Science and Engineering in 2022 (jcase 2022)
- 【八大排序②】选择排序(选择排序,堆排序)
- Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
- [Chongqing Guangdong education] Tianshui Normal University universe exploration reference
猜你喜欢

2022 safety officer-b certificate examination practice questions simulated examination platform operation

Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
![[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface](/img/c9/3fe8693629a8452dcfdb4349ddee0d.png)
[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface

The first "mobile cloud Cup" empty publicity meeting, looking forward to working with developers to create a new world of computing!

Since I understand the idea of dynamic planning, I have opened the door to a new world

一名优秀的软件测试人员,需要掌握哪些技能?
![[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)](/img/c2/7ebc67e9b886e3baf3c98489bf9bce.png)
[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)

2022 high altitude installation, maintenance and removal of test question simulation test platform operation

Hcip day 14 (MPLS protocol)

Datawhale community blackboard newspaper (issue 1)
随机推荐
Review notes of compilation principles
AIX存储管理之总结篇
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
Minimize the error
Picture puzzle wechat applet source code_ Support multi template production and traffic master
Datawhale 社区黑板报(第1期)
How does schedulerx help users solve the problem of distributed task scheduling?
学习笔记3--高精度地图关键技术(上)
站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)
程序员该如何更好的规划自己的职业发展?
Luogu p1775 stone merger (weakened version)
About asp Net core uses a small detail of datetime date type parameter
Datawhale community blackboard newspaper (issue 1)
Global and Chinese markets for supply chain strategy and operation consulting 2022-2028: Research Report on technology, participants, trends, market size and share
You probably haven't noticed the very important testing strategy in your work
Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
Basic number theory -- Gauss elimination
Common loss function of deep learning
Random avatar encyclopedia, multi category wechat applet source code with history_ Support traffic master