Then you will see the shape is surrounded with red lines with 4 black dots at the corners.
Corners may be rounded by four quadraticCurve functions.
Basic PowerPoint Tips to Enhance Your PowerPoint Skills You May Not Know How to Create Your Own Shapes in PowerPoint 2010 How to Make a Custom Slide Layout in PowerPoint 2007 4 Tips to Prepare and Make a Great PowerPoint Presentation Reprint Policy: All posts.
QuadraticCurveTo(xw, y, xw, my context.How to make shapes with curved lines in PowerPoint.QuadraticCurveTo(xw, yh, mx, yh context.Other MathWorks country sites are not optimized for visits from your location.To do this we combine a straight line and a quadratic curve (or arc).Then, make a copy of the shape, rotate it aquarium meubel laten maken to any direction you like, and place it at the bottom of the slide.At last, fill up the curved shape with some color.Next, we need to curve down the right side of the bottom line.

About MathWorks, mathWorks, accelerating the pace of engineering and science.
Drag your mouse and draw the shape on the slide.
QuadraticCurveTo(x, y, xradius, y roke roundRect(10, 10, 200, 100, 20 /script This code size seems large but the function will be translated into bytecode by the JavaScript compiler.
Select the white dot on the bottom line and drag it down.QuadraticCurveTo(xw, y, xw, yradius The value given to radius is roughly equivalent to the radius of the corner which is the quarter of a circle and is the starting point of the curve, following a straight line.Code: function roundedRectangle(x, y, w, fixami kortingscode h) var canvas tElementById canvas4 var context tContext 2d var mx x w / 2; var my y h / 2; ginPath rokeStyle"green neWidth"4 veTo(x,my context.Translate This Page, select SimplifiedChinese CreoleHindiHmong MathWorks Machine Translation, the automated translation of this page is provided by a general purpose third party translator tool.There is not function in the standard, but you can achieve it with four curves forming a right angle (and rounded).Final source code of the rectangle with rounded corners: canvas id"canvas6" width"400" height"120" /canvas script type"text/javascript" function roundRect(x, y, w, h, radius) var canvas tElementById canvas6 var context tContext 2d var r x w; var b y h; ginPath rokeStyle"green neWidth"4 veTo(xradius, y neTo(r-radius,.Create a blank PowerPoint slide, click.