Path2D A Path2D object defines a geometric path using its methods and can be rendered onto a canvas via the stroke method of the Canvas. For details, see Path2D. Drawing Line Segments Create a Path2D
阅读全文
openharmony 鸿蒙 ui-js-components-offscreencanvas
OffscreenCanvasRenderingContext2D OffscreenCanvas allows you to draw rectangles, text, images, and other objects on an offscreen canvas, a separate GPU-allocated buffer isolated from the current displ
阅读全文
openharmony 鸿蒙 ui-js-components-menu
menu Development The <menu> component serves as a temporary pop-up window to display operations that users can perform. For details, see menu. Creating a <menu> Component Create a <menu
阅读全文
openharmony 鸿蒙 ui-js-components-marquee
marquee Development The <marquee> component displays single-line scrolling text. For details, see marquee. Creating a <marquee> Component Create a <marquee> component in the .hml fil
阅读全文
openharmony 鸿蒙 ui-js-components-list
list Development The <list> component provides a list container that presents a series of list items arranged in a column with the same width. Lists can be used for presenting the same type of d
阅读全文
openharmony 鸿蒙 ui-js-components-input
input Development The <input> component provides an interactive way to receive user input of various types, including date, checkbox, and button. For details, see input. Creating an <input>
阅读全文
openharmony 鸿蒙 ui-js-components-images
image Development The <image> component is used to render and display images. For details, see image. Creating an <image> Component Create an <image> component in the .hml file under
阅读全文
openharmony 鸿蒙 ui-js-components-image-animator
image-animator Development The <image-animator> component applies an animation to images. For details, see image-animator. Creating an <image-animator> Component In the pages/index directo
阅读全文
openharmony 鸿蒙 ui-js-components-grid
Grid Layout The <grid-container> component is the root container of the grid layout. Within the root container, you can use <grid-row> and <grid-col> for the grid layout. For details
阅读全文
openharmony 鸿蒙 ui-js-components-form
form Development The <form> component allows the content in <input> components to be submitted and reset. For details, see form. Creating a <form> Component Create a <form> com
阅读全文