Found 132 Articles for HTML5

How to draw an Image with drawImage() in HTML5?

Yaswanth Varma
Updated on 04-Apr-2023 12:11:45

353 Views

The "canvas" element merely serves as a container for visuals; drawing the graphics requires the use of a scripting language. It is a procedural, low-level model without an internal scene that updates a bitmap. The drawImage() function is what we employ to draw an image onto a canvas. This feature transfers a video, canvas, or picture to the canvas. Syntax context.drawImage(img, x, y, swidth, sheight, sx, sy, width, height); Where, Img − Determines whether to utilise a video, canvas, or image. Sx − The starting x coordinate for clipping. Sy − The y point at which clipping should ... Read More

Difference between SAPUI5 controls and HTML5 Controls

Bhanu Priya
Updated on 04-Oct-2023 16:51:46

410 Views

What is SAPUI5? It is a framework used to develop web applications in mobile and desktop where a large collection of JS libraries are present. But these JS libraries cannot be used alone. They have to be integrated into CSS along with JS for developing interactive internet applications. SAP can be customized and can also build its own UI components like, layouts, controls etc. Because of its extensive features, we can control and define custom controls. Features of SAPUI5 Following are some of the features of SAPUI5 − It can create complex UI patterns for use case. It uses ... Read More

Advertisements