同步操作将从 OpenHarmony/docs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
The OpenHarmony graphics subsystem provides you with basic UI and container components, including buttons, images, labels, lists, animators, scroll views, swipe views, fonts, clock, charts, canvas, sliders, and layouts. In addition, this subsystem provides the Design for X (DFX) capability to capture screenshots and export the component tree. It also implements features such as component rendering, animation, and input event distribution.
Contain a variety of basic components (such as buttons, text, and progress bars) and complex components (such as page switching and image sequence frames).
Implement grid layout and flexible layout (such as centered, left-aligned, and right-aligned).
As each layout is a one-off, the positions of components in a specific layout are calculated each time related functions are called on the layout. However, if the position of a component changes with an operation (dragging for example), the positions of other associated components do not automatically change. To change them, you need to call the layout functions again.
Each time the Tick event is received, the Task Manager module periodically invokes callbacks upon attribute changes and then triggers redrawing to produce the desired animation effect.
You can call related functions to start, stop, pause, resume, create, and destroy an animator.
Include touchscreen and physical key input events. Each time the GUI engine runs, the Input Manager module reads the input of all registered hardware devices and converts the input into various events for UI components to use.
2D graphics rendering
Draws lines, rectangles, triangles, and arcs.
Image rendering
Draws images of various types, such as RGB565, RGB888, ARGB8888, PNG, and JPG.
Font rendering
Draws vector fonts in real time.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。