当前位置:网站首页>[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 :
边栏推荐
- Summary of Aix storage management
- gradle
- 程序员该如何更好的规划自己的职业发展?
- What skills does an excellent software tester need to master?
- BiLSTM-CRF代码实现
- [eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
- 站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
- 2022 low voltage electrician examination questions and answers
- Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
- Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
![[eight sorts ①] insert sort (direct insert sort, Hill sort)](/img/8d/2c45a8fb582dabedcd2658cd7c54bc.png)
[eight sorts ①] insert sort (direct insert sort, Hill sort)

Infiltration records of CFS shooting range in the fourth phase of the western regions' Dadu Mansion

ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)

【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)

New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code

GL Studio 5 安装与体验

Synthetic watermelon game wechat applet source code / wechat game applet source code

Keepalived introduction and installation

工作中非常重要的测试策略,你大概没注意过吧

【八大排序①】插入排序(直接插入排序、希尔排序)
随机推荐
New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
BiLSTM-CRF代码实现
Just using the way and method of consuming the Internet to land and practice the industrial Internet will not bring long-term development
MySQL winter vacation self-study 2022 12 (4)
A problem about function template specialization
Leetcode 45 Jumping game II (2022.02.14)
Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
学习笔记24--多传感器后融合技术
Luogu p1775 stone merger (weakened version)
【疾病检测】基于BP神经网络实现肺癌检测系统含GUI界面
Data visualization in medical and healthcare applications
Recommend an online interface mock tool usemock
只是以消费互联网的方式和方法来落地和实践产业互联网,并不能够带来长久的发展
SSO single sign on implementation.
Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
Output results of convolution operation with multiple tensors and multiple convolution kernels
Tencent cloud techo youth dream campus trip into Wuhan University
The 8-year salary change of testers makes netizens envy it: you pay me one year's salary per month
Global and Chinese market of picture archiving and communication system (PACS) 2022-2028: Research Report on technology, participants, trends, market size and share
How to compress video size while adding watermark with one click?