This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// cancel icon | |
{ | |
//// Bezier 4 Drawing | |
UIBezierPath* bezier4Path = [UIBezierPath bezierPath]; | |
[bezier4Path moveToPoint: CGPointMake(190.93, 36.84)]; | |
[bezier4Path addCurveToPoint: CGPointMake(187.69, 36.84) controlPoint1: CGPointMake(190.03, 37.66) controlPoint2: CGPointMake(188.59, 37.66)]; | |
[bezier4Path addLineToPoint: CGPointMake(182.71, 31.13)]; | |
[bezier4Path addLineToPoint: CGPointMake(177.73, 36.84)]; | |
[bezier4Path addCurveToPoint: CGPointMake(174.48, 36.84) controlPoint1: CGPointMake(176.82, 37.66) controlPoint2: CGPointMake(175.39, 37.66)]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2 class="example">Example 1</h2> | |
<p class="example">Create simple play/pause + resize controls for a video:</p> | |
<div class="example_code notranslate"> | |
<br> | |
<div style="text-align:center"> | |
<button onclick="playPause()">Play/Pause</button> | |
<button onclick="makeBig()">Big</button> | |
<button onclick="makeSmall()">Small</button> | |
<button onclick="makeNormal()">Normal</button> | |
<br><br> |
NewerOlder