1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="description" content="API docs for the drawButton function from the TouchPainter library, for the Dart programming language.">
- <title>drawButton function - TouchPainter library - Dart API</title>
- <!-- required because all the links are pseudo-absolute -->
- <base href="..">
-
- <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
- <link rel="stylesheet" href="static-assets/github.css">
- <link rel="stylesheet" href="static-assets/styles.css">
- <link rel="icon" href="static-assets/favicon.png">
-
- </head>
-
- <body>
-
- <div id="overlay-under-drawer"></div>
-
- <header id="title">
- <button id="sidenav-left-toggle" type="button"> </button>
- <ol class="breadcrumbs gt-separated dark hidden-xs">
- <li><a href="index.html">touch_demonstrator</a></li>
- <li><a href="ui_home_TouchPainter/ui_home_TouchPainter-library.html">TouchPainter</a></li>
- <li class="self-crumb">drawButton function</li>
- </ol>
- <div class="self-name">drawButton</div>
- <form class="search navbar-right" role="search">
- <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
- </form>
- </header>
-
- <main>
-
- <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
- <h5>TouchPainter library</h5>
- <ol>
- <li class="section-title"><a href="ui_home_TouchPainter/ui_home_TouchPainter-library.html#classes">Classes</a></li>
- <li><a href="ui_home_TouchPainter/TouchPainter-class.html">TouchPainter</a></li>
-
-
-
-
- <li class="section-title"><a href="ui_home_TouchPainter/ui_home_TouchPainter-library.html#functions">Functions</a></li>
- <li><a href="ui_home_TouchPainter/drawButton.html">drawButton</a></li>
-
-
-
- </ol>
- </div><!--/.sidebar-offcanvas-left-->
-
- <div class="col-xs-12 col-sm-9 col-md-8 main-content">
- <h1>drawButton function </h1>
-
- <section class="multi-line-signature">
- <span class="returntype">dynamic</span>
- <span class="name ">drawButton</span>
- (<wbr><span class="parameter" id="drawButton-param-x"><span class="type-annotation">double</span> <span class="parameter-name">x</span>, </span> <span class="parameter" id="drawButton-param-y"><span class="type-annotation">double</span> <span class="parameter-name">y</span>, </span> <span class="parameter" id="drawButton-param-v"><span class="type-annotation">Color</span> <span class="parameter-name">v</span></span>)
- </section>
-
- <section class="summary source-code" id="source">
- <h2><span>Implementation</span> </h2>
- <pre class="language-dart"><code class="language-dart">drawButton(double x, double y, Color v) {
- return new Positioned(
- left: x,
- bottom: y,
- child: new Icon(Icons.star),
- );
- }</code></pre>
- </section>
-
- </div> <!-- /.main-content -->
-
- <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
- </div><!--/.sidebar-offcanvas-->
-
- </main>
-
- <footer>
- <span class="no-break">
- touch_demonstrator 1.0.0+1
- </span>
-
- </footer>
-
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="static-assets/typeahead.bundle.min.js"></script>
- <script src="static-assets/highlight.pack.js"></script>
- <script src="static-assets/URI.js"></script>
- <script src="static-assets/script.js"></script>
-
-
- </body>
-
- </html>
|