WGU C777 Unit 4: HTML5 APIs, Web Dev Applications, latest updates. VERIFIED.
WGU C777 Unit 4: HTML5 APIs, Web Dev Applications, latest updates. VERIFIED. What is a collection of standards and programming instructions that enable access to a software application? - -application programming interface (API) Which API is used for rendering visual images on the fly via scripting? - -Canvas API Which element is a transparent container for graphics? - -canvas What two attributes does the canvas element have? - -height and width What primitive shape does canvas support? - -rectangle What is the standard specifying how objects in a Web document can be referred to and manipulated? - -Document Object Model (DOM) Which language is used to access HTML elements via the DOM? - -JavaScript Which method returns a context object, which provides properties and methods that can be used to draw and manipulate images on the canvas? - -getContext() Which method draws a filled rectangle? - -fillRect(x,y,width,height) Which method draws a rectangular outline? - -strokeRect(x,y,width,height) Which method clears the specified area and makes it fully transparent? - -clearRect(x,y,width,height) Which method begins a drawing path or resets the current path? - -beginPath() Which method ends the current drawing path? - -closePath() Which method moves the drawing pointer to a specified position? - -moveTo(x,y) Which method draws a curving line with a center, a given radius, a starting and ending angle (in radians), and instruction to draw in a clockwise or counterclockwise direction? - -arc(x,y,radius,startAngle,endAngle,anticlockwise) Which method draws a straight line from the current drawing position to the specified position? - -lineTo(x,y)
Written for
Document information
- Uploaded on
- August 22, 2023
- Number of pages
- 7
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu c777 unit 4 html5 apis web dev applications
Also available in package deal