1844 lines
108 KiB
HTML
1844 lines
108 KiB
HTML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<!-- This file is generated by Nim. -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
|
|
|
|
<!-- Google fonts -->
|
|
<link href='https://fonts.googleapis.com/css?family=Raleway:400,600,900' rel='stylesheet' type='text/css'/>
|
|
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
|
|
|
|
<!-- CSS -->
|
|
<title>Module canvas_item</title>
|
|
<style type="text/css" >
|
|
/*
|
|
Stylesheet for use with Docutils/rst2html.
|
|
|
|
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
|
customize this style sheet.
|
|
|
|
Modified from Chad Skeeters' rst2html-style
|
|
https://bitbucket.org/cskeeters/rst2html-style/
|
|
|
|
Modified by Boyd Greenfield
|
|
*/
|
|
/* SCSS variables */
|
|
/* Text weights */
|
|
/* Body colors */
|
|
/* Text colors */
|
|
/* Link colors */
|
|
/* Syntax highlighting colors */
|
|
/* Pct changes */
|
|
/* Mixins */
|
|
/* Body/layout */
|
|
html {
|
|
font-size: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%; }
|
|
|
|
/* Where we want fancier font if available */
|
|
h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
|
|
font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
|
|
|
|
h1.title {
|
|
font-weight: 900; }
|
|
|
|
body {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
color: #666;
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
/* Skeleton grid */
|
|
.container {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
box-sizing: border-box; }
|
|
|
|
.column,
|
|
.columns {
|
|
width: 100%;
|
|
float: left;
|
|
box-sizing: border-box; }
|
|
|
|
/* For devices larger than 400px */
|
|
@media (min-width: 400px) {
|
|
.container {
|
|
width: 100%;
|
|
padding: 0; } }
|
|
/* For devices larger than 650px */
|
|
@media (min-width: 650px) {
|
|
.container {
|
|
width: 100%; }
|
|
|
|
.column,
|
|
.columns {
|
|
margin-left: 4%; }
|
|
|
|
.column:first-child,
|
|
.columns:first-child {
|
|
margin-left: 0; }
|
|
|
|
.one.column,
|
|
.one.columns {
|
|
width: 4.66666666667%; }
|
|
|
|
.two.columns {
|
|
width: 13.3333333333%; }
|
|
|
|
.three.columns {
|
|
width: 22%; }
|
|
|
|
.four.columns {
|
|
width: 30.6666666667%; }
|
|
|
|
.five.columns {
|
|
width: 39.3333333333%; }
|
|
|
|
.six.columns {
|
|
width: 48%; }
|
|
|
|
.seven.columns {
|
|
width: 56.6666666667%; }
|
|
|
|
.eight.columns {
|
|
width: 65.3333333333%; }
|
|
|
|
.nine.columns {
|
|
width: 74.0%; }
|
|
|
|
.ten.columns {
|
|
width: 82.6666666667%; }
|
|
|
|
.eleven.columns {
|
|
width: 91.3333333333%; }
|
|
|
|
.twelve.columns {
|
|
width: 100%;
|
|
margin-left: 0; }
|
|
|
|
.one-third.column {
|
|
width: 30.6666666667%; }
|
|
|
|
.two-thirds.column {
|
|
width: 65.3333333333%; } }
|
|
/* Customer Overrides */
|
|
.footer {
|
|
text-align: center;
|
|
color: #969696;
|
|
padding-top: 10%; }
|
|
|
|
p.module-desc {
|
|
font-size: 1.1em;
|
|
color: #666666; }
|
|
|
|
a.link-seesrc {
|
|
color: #aec7d2;
|
|
font-style: italic; }
|
|
|
|
a.link-seesrc:hover {
|
|
color: #6c9aae; }
|
|
|
|
#toc-list {
|
|
word-wrap: break-word; }
|
|
|
|
ul.simple-toc {
|
|
list-style: none; }
|
|
|
|
ul.simple-toc a.reference-toplevel {
|
|
font-weight: bold;
|
|
color: #0077b3; }
|
|
|
|
ul.simple-toc-section {
|
|
list-style-type: circle;
|
|
color: #6c9aae; }
|
|
|
|
ul.simple-toc-section a.reference {
|
|
color: #0077b3; }
|
|
|
|
cite {
|
|
font-style: italic !important; }
|
|
|
|
dt > pre {
|
|
border-color: rgba(0, 0, 0, 0.15);
|
|
background-color: transparent;
|
|
margin: 15px 0px 5px; }
|
|
|
|
dd > pre {
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
background-color: whitesmoke;
|
|
margin-top: 8px; }
|
|
|
|
.item > dd {
|
|
margin-left: 10px;
|
|
margin-bottom: 30px; }
|
|
|
|
/* Nim line-numbered tables */
|
|
.line-nums-table {
|
|
width: 100%;
|
|
table-layout: fixed; }
|
|
|
|
table.line-nums-table {
|
|
border-radius: 4px;
|
|
border: 1px solid #cccccc;
|
|
background-color: whitesmoke;
|
|
border-collapse: separate;
|
|
margin-top: 15px;
|
|
margin-bottom: 25px; }
|
|
|
|
.line-nums-table tbody {
|
|
border: none; }
|
|
|
|
.line-nums-table td pre {
|
|
border: none;
|
|
background-color: transparent; }
|
|
|
|
.line-nums-table td.blob-line-nums {
|
|
width: 28px; }
|
|
|
|
.line-nums-table td.blob-line-nums pre {
|
|
color: #b0b0b0;
|
|
-webkit-filter: opacity(75%);
|
|
text-align: right;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
padding-left: 0px;
|
|
margin-left: 0px;
|
|
padding-right: 0px;
|
|
margin-right: 0px; }
|
|
|
|
/* Docgen styles */
|
|
/* Links */
|
|
a {
|
|
color: #0077b3;
|
|
text-decoration: none; }
|
|
|
|
a:hover,
|
|
a:focus {
|
|
color: #00334d;
|
|
text-decoration: underline; }
|
|
|
|
a:visited {
|
|
color: #00334d; }
|
|
|
|
a:focus {
|
|
outline: thin dotted #2d2d2d;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
outline-offset: -2px; }
|
|
|
|
a:hover,
|
|
a:active {
|
|
outline: 0; }
|
|
|
|
sub,
|
|
sup {
|
|
position: relative;
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
vertical-align: baseline; }
|
|
|
|
sup {
|
|
top: -0.5em; }
|
|
|
|
sub {
|
|
bottom: -0.25em; }
|
|
|
|
img {
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
vertical-align: middle;
|
|
border: 0;
|
|
-ms-interpolation-mode: bicubic; }
|
|
|
|
@media print {
|
|
* {
|
|
color: black !important;
|
|
text-shadow: none !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important; }
|
|
|
|
a,
|
|
a:visited {
|
|
text-decoration: underline; }
|
|
|
|
a[href]:after {
|
|
content: " (" attr(href) ")"; }
|
|
|
|
abbr[title]:after {
|
|
content: " (" attr(title) ")"; }
|
|
|
|
.ir a:after,
|
|
a[href^="javascript:"]:after,
|
|
a[href^="#"]:after {
|
|
content: ""; }
|
|
|
|
pre,
|
|
blockquote {
|
|
border: 1px solid #999;
|
|
page-break-inside: avoid; }
|
|
|
|
thead {
|
|
display: table-header-group; }
|
|
|
|
tr,
|
|
img {
|
|
page-break-inside: avoid; }
|
|
|
|
img {
|
|
max-width: 100% !important; }
|
|
|
|
@page {
|
|
margin: 0.5cm; }
|
|
|
|
h1 {
|
|
page-break-before: always; }
|
|
|
|
h1.title {
|
|
page-break-before: avoid; }
|
|
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3; }
|
|
|
|
h2,
|
|
h3 {
|
|
page-break-after: avoid; } }
|
|
.img-rounded {
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px; }
|
|
|
|
.img-polaroid {
|
|
padding: 4px;
|
|
background-color: rgba(252, 248, 244, 0.75);
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
|
|
|
|
p {
|
|
margin: 0 0 12px; }
|
|
|
|
small {
|
|
font-size: 85%; }
|
|
|
|
strong {
|
|
font-weight: 600; }
|
|
|
|
em {
|
|
font-style: italic; }
|
|
|
|
cite {
|
|
font-style: normal; }
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility; }
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
padding-bottom: .15em;
|
|
border-bottom: 1px solid #aaaaaa;
|
|
margin-top: 1.0em;
|
|
line-height: 1.2em; }
|
|
|
|
h1.title {
|
|
padding-bottom: 1em;
|
|
border-bottom: 0px;
|
|
font-size: 2.75em; }
|
|
|
|
h2 {
|
|
font-size: 1.5em;
|
|
margin-top: 1.5em; }
|
|
|
|
h3 {
|
|
font-size: 1.3em;
|
|
font-style: italic;
|
|
margin-top: 0.75em; }
|
|
|
|
h4 {
|
|
font-size: 1.3em;
|
|
margin-top: 0.5em; }
|
|
|
|
h5 {
|
|
font-size: 1.2em;
|
|
margin-top: 0.25em; }
|
|
|
|
h6 {
|
|
font-size: 1.1em; }
|
|
|
|
ul,
|
|
ol {
|
|
padding: 0;
|
|
margin: 0 0 0px 15px; }
|
|
|
|
ul ul,
|
|
ul ol,
|
|
ol ol,
|
|
ol ul {
|
|
margin-bottom: 0; }
|
|
|
|
li {
|
|
line-height: 20px; }
|
|
|
|
dl {
|
|
margin-bottom: 20px; }
|
|
|
|
dt,
|
|
dd {
|
|
line-height: 20px; }
|
|
|
|
dt {
|
|
font-weight: bold; }
|
|
|
|
dd {
|
|
margin-left: 10px;
|
|
margin-bottom: 26px; }
|
|
|
|
hr {
|
|
margin: 20px 0;
|
|
border: 0;
|
|
border-top: 1px solid #eeeeee;
|
|
border-bottom: 1px solid #ffffff; }
|
|
|
|
abbr[title],
|
|
abbr[data-original-title] {
|
|
cursor: help;
|
|
border-bottom: 1px dotted #999999; }
|
|
|
|
abbr.initialism {
|
|
font-size: 90%;
|
|
text-transform: uppercase; }
|
|
|
|
blockquote {
|
|
padding: 0 0 0 15px;
|
|
margin: 0 0 20px;
|
|
border-left: 5px solid #EFEBE0; }
|
|
|
|
table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
|
|
border-left: 5px solid #c9c9c9;
|
|
}
|
|
|
|
table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
|
|
margin-bottom: 0;
|
|
font-size: 15px;
|
|
font-weight: 200;
|
|
line-height: 1.5;
|
|
font-style: italic; }
|
|
|
|
q:before,
|
|
q:after,
|
|
blockquote:before,
|
|
blockquote:after {
|
|
content: ""; }
|
|
|
|
address {
|
|
display: block;
|
|
margin-bottom: 20px;
|
|
font-style: normal;
|
|
line-height: 20px; }
|
|
|
|
code,
|
|
pre {
|
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
padding: 0 3px 2px;
|
|
font-weight: 500;
|
|
font-size: 12px;
|
|
color: #444444;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px; }
|
|
|
|
.pre {
|
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
font-weight: 600;
|
|
/*color: #504da6;*/
|
|
}
|
|
|
|
code {
|
|
padding: 2px 4px;
|
|
color: #444444;
|
|
white-space: nowrap;
|
|
background-color: white;
|
|
border: 1px solid #777777; }
|
|
|
|
pre {
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
min-width: calc(100% - 19.5px);
|
|
padding: 9.5px;
|
|
margin: 0.25em 10px 0.25em 10px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
white-space: pre !important;
|
|
overflow-y: hidden;
|
|
overflow-x: visible;
|
|
background-color: whitesmoke;
|
|
border: 1px solid #cccccc;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px; }
|
|
|
|
pre.prettyprint {
|
|
margin-bottom: 20px; }
|
|
|
|
pre code {
|
|
padding: 0;
|
|
color: inherit;
|
|
white-space: pre;
|
|
overflow-x: visible;
|
|
background-color: transparent;
|
|
border: 0; }
|
|
|
|
.pre-scrollable {
|
|
max-height: 340px;
|
|
overflow-y: scroll; }
|
|
|
|
table {
|
|
max-width: 100%;
|
|
background-color: transparent;
|
|
border-collapse: collapse;
|
|
border-spacing: 0; }
|
|
|
|
table th, table td {
|
|
padding: 0px 8px 0px;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
margin-bottom: 20px; }
|
|
|
|
.table th,
|
|
.table td {
|
|
padding: 8px;
|
|
line-height: 20px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
border-top: 1px solid #444444; }
|
|
|
|
.table th {
|
|
font-weight: bold; }
|
|
|
|
.table thead th {
|
|
vertical-align: bottom; }
|
|
|
|
.table caption + thead tr:first-child th,
|
|
.table caption + thead tr:first-child td,
|
|
.table colgroup + thead tr:first-child th,
|
|
.table colgroup + thead tr:first-child td,
|
|
.table thead:first-child tr:first-child th,
|
|
.table thead:first-child tr:first-child td {
|
|
border-top: 0; }
|
|
|
|
.table tbody + tbody {
|
|
border-top: 2px solid #444444; }
|
|
|
|
.table .table {
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
.table-condensed th,
|
|
.table-condensed td {
|
|
padding: 4px 5px; }
|
|
|
|
.table-bordered {
|
|
border: 1px solid #444444;
|
|
border-collapse: separate;
|
|
*border-collapse: collapse;
|
|
border-left: 0;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px; }
|
|
|
|
.table-bordered th,
|
|
.table-bordered td {
|
|
border-left: 1px solid #444444; }
|
|
|
|
.table-bordered caption + thead tr:first-child th,
|
|
.table-bordered caption + tbody tr:first-child th,
|
|
.table-bordered caption + tbody tr:first-child td,
|
|
.table-bordered colgroup + thead tr:first-child th,
|
|
.table-bordered colgroup + tbody tr:first-child th,
|
|
.table-bordered colgroup + tbody tr:first-child td,
|
|
.table-bordered thead:first-child tr:first-child th,
|
|
.table-bordered tbody:first-child tr:first-child th,
|
|
.table-bordered tbody:first-child tr:first-child td {
|
|
border-top: 0; }
|
|
|
|
.table-bordered thead:first-child tr:first-child > th:first-child,
|
|
.table-bordered tbody:first-child tr:first-child > td:first-child,
|
|
.table-bordered tbody:first-child tr:first-child > th:first-child {
|
|
-webkit-border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
-moz-border-radius-topleft: 4px; }
|
|
|
|
.table-bordered thead:first-child tr:first-child > th:last-child,
|
|
.table-bordered tbody:first-child tr:first-child > td:last-child,
|
|
.table-bordered tbody:first-child tr:first-child > th:last-child {
|
|
-webkit-border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
-moz-border-radius-topright: 4px; }
|
|
|
|
.table-bordered thead:last-child tr:last-child > th:first-child,
|
|
.table-bordered tbody:last-child tr:last-child > td:first-child,
|
|
.table-bordered tbody:last-child tr:last-child > th:first-child,
|
|
.table-bordered tfoot:last-child tr:last-child > td:first-child,
|
|
.table-bordered tfoot:last-child tr:last-child > th:first-child {
|
|
-webkit-border-bottom-left-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
-moz-border-radius-bottomleft: 4px; }
|
|
|
|
.table-bordered thead:last-child tr:last-child > th:last-child,
|
|
.table-bordered tbody:last-child tr:last-child > td:last-child,
|
|
.table-bordered tbody:last-child tr:last-child > th:last-child,
|
|
.table-bordered tfoot:last-child tr:last-child > td:last-child,
|
|
.table-bordered tfoot:last-child tr:last-child > th:last-child {
|
|
-webkit-border-bottom-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
-moz-border-radius-bottomright: 4px; }
|
|
|
|
.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
|
|
-webkit-border-bottom-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
-moz-border-radius-bottomleft: 0; }
|
|
|
|
.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
|
|
-webkit-border-bottom-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
-moz-border-radius-bottomright: 0; }
|
|
|
|
.table-bordered caption + thead tr:first-child th:first-child,
|
|
.table-bordered caption + tbody tr:first-child td:first-child,
|
|
.table-bordered colgroup + thead tr:first-child th:first-child,
|
|
.table-bordered colgroup + tbody tr:first-child td:first-child {
|
|
-webkit-border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
-moz-border-radius-topleft: 4px; }
|
|
|
|
.table-bordered caption + thead tr:first-child th:last-child,
|
|
.table-bordered caption + tbody tr:first-child td:last-child,
|
|
.table-bordered colgroup + thead tr:first-child th:last-child,
|
|
.table-bordered colgroup + tbody tr:first-child td:last-child {
|
|
-webkit-border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
-moz-border-radius-topright: 4px; }
|
|
|
|
table.docutils th {
|
|
background-color: #e8e8e8; }
|
|
|
|
table.docutils tr:hover {
|
|
background-color: whitesmoke; }
|
|
|
|
.table-striped tbody > tr:nth-child(odd) > td,
|
|
.table-striped tbody > tr:nth-child(odd) > th {
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
.table-hover tbody tr:hover > td,
|
|
.table-hover tbody tr:hover > th {
|
|
background-color: rgba(241, 222, 204, 0.75); }
|
|
|
|
table td[class*="span"],
|
|
table th[class*="span"],
|
|
.row-fluid table td[class*="span"],
|
|
.row-fluid table th[class*="span"] {
|
|
display: table-cell;
|
|
float: none;
|
|
margin-left: 0; }
|
|
|
|
.hero-unit {
|
|
padding: 60px;
|
|
margin-bottom: 30px;
|
|
font-size: 18px;
|
|
font-weight: 200;
|
|
line-height: 30px;
|
|
color: inherit;
|
|
background-color: rgba(230, 197, 164, 0.75);
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px; }
|
|
|
|
.hero-unit h1 {
|
|
margin-bottom: 0;
|
|
font-size: 60px;
|
|
line-height: 1;
|
|
letter-spacing: -1px;
|
|
color: inherit; }
|
|
|
|
.hero-unit li {
|
|
line-height: 30px; }
|
|
|
|
/* rst2html default used to remove borders from tables and images */
|
|
.borderless, table.borderless td, table.borderless th {
|
|
border: 0; }
|
|
|
|
table.borderless td, table.borderless th {
|
|
/* Override padding for "table.docutils td" with "! important".
|
|
The right padding separates the table cells. */
|
|
padding: 0 0.5em 0 0 !important; }
|
|
|
|
.first {
|
|
/* Override more specific margin styles with "! important". */
|
|
margin-top: 0 !important; }
|
|
|
|
.last, .with-subtitle {
|
|
margin-bottom: 0 !important; }
|
|
|
|
.hidden {
|
|
display: none; }
|
|
|
|
a.toc-backref {
|
|
text-decoration: none;
|
|
color: #444444; }
|
|
|
|
blockquote.epigraph {
|
|
margin: 2em 5em; }
|
|
|
|
dl.docutils dd {
|
|
margin-bottom: 0.5em; }
|
|
|
|
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
|
overflow: hidden; }
|
|
|
|
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
dl.docutils dt {
|
|
font-weight: bold }
|
|
*/
|
|
div.abstract {
|
|
margin: 2em 5em; }
|
|
|
|
div.abstract p.topic-title {
|
|
font-weight: bold;
|
|
text-align: center; }
|
|
|
|
div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
div.hint, div.important, div.note, div.tip, div.warning {
|
|
margin: 2em;
|
|
border: medium outset;
|
|
padding: 1em; }
|
|
|
|
div.note, div.warning {
|
|
margin: 1.5em 0px;
|
|
border: none; }
|
|
|
|
div.note p.admonition-title,
|
|
div.warning p.admonition-title {
|
|
display: none; }
|
|
|
|
/* Clearfix
|
|
* http://css-tricks.com/snippets/css/clear-fix/
|
|
*/
|
|
div.note:after,
|
|
div.warning:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both; }
|
|
|
|
div.note p:before,
|
|
div.warning p:before {
|
|
display: block;
|
|
float: left;
|
|
font-size: 4em;
|
|
line-height: 1em;
|
|
margin-right: 20px;
|
|
margin-left: 0em;
|
|
margin-top: -10px;
|
|
content: '\0270D';
|
|
/*handwriting*/ }
|
|
|
|
div.warning p:before {
|
|
content: '\026A0';
|
|
/*warning*/ }
|
|
|
|
div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
div.important p.admonition-title, div.note p.admonition-title,
|
|
div.tip p.admonition-title {
|
|
font-weight: bold;
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; }
|
|
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
div.warning p.admonition-title, .code .error {
|
|
color: #b30000;
|
|
font-weight: bold;
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; }
|
|
|
|
/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
compound paragraphs.
|
|
div.compound .compound-first, div.compound .compound-middle {
|
|
margin-bottom: 0.5em }
|
|
|
|
div.compound .compound-last, div.compound .compound-middle {
|
|
margin-top: 0.5em }
|
|
*/
|
|
div.dedication {
|
|
margin: 2em 5em;
|
|
text-align: center;
|
|
font-style: italic; }
|
|
|
|
div.dedication p.topic-title {
|
|
font-weight: bold;
|
|
font-style: normal; }
|
|
|
|
div.figure {
|
|
margin-left: 2em;
|
|
margin-right: 2em; }
|
|
|
|
div.footer, div.header {
|
|
clear: both;
|
|
font-size: smaller; }
|
|
|
|
div.line-block {
|
|
display: block;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em; }
|
|
|
|
div.line-block div.line-block {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 1.5em; }
|
|
|
|
div.sidebar {
|
|
margin: 0 0 0.5em 1em;
|
|
border: medium outset;
|
|
padding: 1em;
|
|
background-color: rgba(252, 248, 244, 0.75);
|
|
width: 40%;
|
|
float: right;
|
|
clear: right; }
|
|
|
|
div.sidebar p.rubric {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-size: medium; }
|
|
|
|
div.system-messages {
|
|
margin: 5em; }
|
|
|
|
div.system-messages h1 {
|
|
color: #b30000; }
|
|
|
|
div.system-message {
|
|
border: medium outset;
|
|
padding: 1em; }
|
|
|
|
div.system-message p.system-message-title {
|
|
color: #b30000;
|
|
font-weight: bold; }
|
|
|
|
div.topic {
|
|
margin: 2em; }
|
|
|
|
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
margin-top: 0.4em; }
|
|
|
|
h1.title {
|
|
text-align: center; }
|
|
|
|
h2.subtitle {
|
|
text-align: center; }
|
|
|
|
hr.docutils {
|
|
width: 75%; }
|
|
|
|
img.align-left, .figure.align-left, object.align-left {
|
|
clear: left;
|
|
float: left;
|
|
margin-right: 1em; }
|
|
|
|
img.align-right, .figure.align-right, object.align-right {
|
|
clear: right;
|
|
float: right;
|
|
margin-left: 1em; }
|
|
|
|
img.align-center, .figure.align-center, object.align-center {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto; }
|
|
|
|
.align-left {
|
|
text-align: left; }
|
|
|
|
.align-center {
|
|
clear: both;
|
|
text-align: center; }
|
|
|
|
.align-right {
|
|
text-align: right; }
|
|
|
|
/* reset inner alignment in figures */
|
|
div.align-right {
|
|
text-align: inherit; }
|
|
|
|
/* div.align-center * { */
|
|
/* text-align: left } */
|
|
|
|
ul.simple > li {
|
|
margin-bottom: 0.5em }
|
|
|
|
ol.simple, ul.simple {
|
|
margin-bottom: 1em; }
|
|
|
|
ol.arabic {
|
|
list-style: decimal; }
|
|
|
|
ol.loweralpha {
|
|
list-style: lower-alpha; }
|
|
|
|
ol.upperalpha {
|
|
list-style: upper-alpha; }
|
|
|
|
ol.lowerroman {
|
|
list-style: lower-roman; }
|
|
|
|
ol.upperroman {
|
|
list-style: upper-roman; }
|
|
|
|
p.attribution {
|
|
text-align: right;
|
|
margin-left: 50%; }
|
|
|
|
p.caption {
|
|
font-style: italic; }
|
|
|
|
p.credits {
|
|
font-style: italic;
|
|
font-size: smaller; }
|
|
|
|
p.label {
|
|
white-space: nowrap; }
|
|
|
|
p.rubric {
|
|
font-weight: bold;
|
|
font-size: larger;
|
|
color: maroon;
|
|
text-align: center; }
|
|
|
|
p.sidebar-title {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: bold;
|
|
font-size: larger; }
|
|
|
|
p.sidebar-subtitle {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: bold; }
|
|
|
|
p.topic-title {
|
|
font-weight: bold; }
|
|
|
|
pre.address {
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
font: inherit; }
|
|
|
|
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
margin-left: 2em;
|
|
margin-right: 2em; }
|
|
|
|
pre.code .ln {
|
|
color: grey; }
|
|
|
|
/* line numbers */
|
|
pre.code, code {
|
|
background-color: #eeeeee; }
|
|
|
|
pre.code .comment, code .comment {
|
|
color: #5c6576; }
|
|
|
|
pre.code .keyword, code .keyword {
|
|
color: #3B0D06;
|
|
font-weight: bold; }
|
|
|
|
pre.code .literal.string, code .literal.string {
|
|
color: #0c5404; }
|
|
|
|
pre.code .name.builtin, code .name.builtin {
|
|
color: #352b84; }
|
|
|
|
pre.code .deleted, code .deleted {
|
|
background-color: #DEB0A1; }
|
|
|
|
pre.code .inserted, code .inserted {
|
|
background-color: #A3D289; }
|
|
|
|
span.classifier {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-style: oblique; }
|
|
|
|
span.classifier-delimiter {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: bold; }
|
|
|
|
span.interpreted {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; }
|
|
|
|
span.option {
|
|
white-space: nowrap; }
|
|
|
|
span.pre {
|
|
white-space: pre; }
|
|
|
|
span.problematic {
|
|
color: #b30000; }
|
|
|
|
span.section-subtitle {
|
|
/* font-size relative to parent (h1..h6 element) */
|
|
font-size: 80%; }
|
|
|
|
table.citation {
|
|
border-left: solid 1px #666666;
|
|
margin-left: 1px; }
|
|
|
|
table.docinfo {
|
|
margin: 0em;
|
|
margin-top: 2em;
|
|
margin-bottom: 2em;
|
|
font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
|
|
color: #444444; }
|
|
|
|
table.docutils {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em; }
|
|
|
|
table.footnote {
|
|
border-left: solid 1px #2d2d2d;
|
|
margin-left: 1px; }
|
|
|
|
table.docutils td, table.docutils th,
|
|
table.docinfo td, table.docinfo th {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
vertical-align: top; }
|
|
|
|
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
font-weight: 700;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
padding-left: 0; }
|
|
|
|
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
font-size: 100%; }
|
|
|
|
ul.auto-toc {
|
|
list-style-type: none; }
|
|
|
|
span.DecNumber {
|
|
color: #252dbe; }
|
|
|
|
span.BinNumber {
|
|
color: #252dbe; }
|
|
|
|
span.HexNumber {
|
|
color: #252dbe; }
|
|
|
|
span.OctNumber {
|
|
color: #252dbe; }
|
|
|
|
span.FloatNumber {
|
|
color: #252dbe; }
|
|
|
|
span.Identifier {
|
|
color: #3b3b3b; }
|
|
|
|
span.Keyword {
|
|
font-weight: 600;
|
|
color: #5e8f60; }
|
|
|
|
span.StringLit {
|
|
color: #a4255b; }
|
|
|
|
span.LongStringLit {
|
|
color: #a4255b; }
|
|
|
|
span.CharLit {
|
|
color: #a4255b; }
|
|
|
|
span.EscapeSequence {
|
|
color: black; }
|
|
|
|
span.Operator {
|
|
color: black; }
|
|
|
|
span.Punctuation {
|
|
color: black; }
|
|
|
|
span.Comment, span.LongComment {
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: #484a86; }
|
|
|
|
span.RegularExpression {
|
|
color: darkviolet; }
|
|
|
|
span.TagStart {
|
|
color: darkviolet; }
|
|
|
|
span.TagEnd {
|
|
color: darkviolet; }
|
|
|
|
span.Key {
|
|
color: #252dbe; }
|
|
|
|
span.Value {
|
|
color: #252dbe; }
|
|
|
|
span.RawData {
|
|
color: #a4255b; }
|
|
|
|
span.Assembler {
|
|
color: #252dbe; }
|
|
|
|
span.Preprocessor {
|
|
color: #252dbe; }
|
|
|
|
span.Directive {
|
|
color: #252dbe; }
|
|
|
|
span.Command, span.Rule, span.Hyperlink, span.Label, span.Reference,
|
|
span.Other {
|
|
color: black; }
|
|
|
|
/* Pop type, const, proc, and iterator defs in nim def blocks */
|
|
dt pre > span.Identifier, dt pre > span.Operator {
|
|
color: #155da4;
|
|
font-weight: 700; }
|
|
|
|
dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
|
|
color: inherit;
|
|
font-weight: inherit; }
|
|
|
|
dt pre > span.Operator ~ span.Identifier, dt pre > span.Operator ~ span.Operator {
|
|
color: inherit;
|
|
font-weight: inherit; }
|
|
|
|
/* Nim sprite for the footer (taken from main page favicon) */
|
|
.nim-sprite {
|
|
display: inline-block;
|
|
height: 12px;
|
|
width: 12px;
|
|
background-position: 0 0;
|
|
background-size: 12px 12px;
|
|
-webkit-filter: opacity(50%);
|
|
background-repeat: no-repeat;
|
|
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
|
|
margin-bottom: -5px; }
|
|
div.pragma {
|
|
display: none;
|
|
}
|
|
span.pragmabegin {
|
|
cursor: pointer;
|
|
}
|
|
span.pragmaend {
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.search_results {
|
|
background-color: antiquewhite;
|
|
margin: 3em;
|
|
padding: 1em;
|
|
border: 1px solid #4d4d4d;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript" src="../dochack.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
function togglepragma(d) {
|
|
if (d.style.display != 'inline')
|
|
d.style.display = 'inline';
|
|
else
|
|
d.style.display = 'none';
|
|
}
|
|
|
|
function main() {
|
|
var elements = document.getElementsByClassName("pragmabegin");
|
|
for (var i = 0; i < elements.length; ++i) {
|
|
var e = elements[i];
|
|
e.onclick = function(event) {
|
|
togglepragma(event.target.nextSibling);
|
|
};
|
|
}
|
|
var elements = document.getElementsByClassName("pragmaend");
|
|
for (var i = 0; i < elements.length; ++i) {
|
|
var e = elements[i];
|
|
e.onclick = function(event) {
|
|
togglepragma(event.target.previousSibling);
|
|
};
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body onload="main()">
|
|
<div class="document" id="documentId">
|
|
<div class="container">
|
|
<h1 class="title">Module canvas_item</h1>
|
|
<div class="row">
|
|
<div class="three columns">
|
|
<div>
|
|
Search: <input type="text" id="searchInput"
|
|
onkeyup="search()" />
|
|
</div>
|
|
<div>
|
|
Group by:
|
|
<select onchange="groupBy(this.value)">
|
|
<option value="section">Section</option>
|
|
<option value="type">Type</option>
|
|
</select>
|
|
</div>
|
|
<ul class="simple simple-toc" id="toc-list">
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#6" id="56">Imports</a>
|
|
<ul class="simple simple-toc-section">
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#BLEND_MODE_MIX"
|
|
title="BLEND_MODE_MIX* = 0'i64"><wbr />BLEND_<wbr />MODE_<wbr />MIX<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#BLEND_MODE_ADD"
|
|
title="BLEND_MODE_ADD* = 1'i64"><wbr />BLEND_<wbr />MODE_<wbr />ADD<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#BLEND_MODE_SUB"
|
|
title="BLEND_MODE_SUB* = 2'i64"><wbr />BLEND_<wbr />MODE_<wbr />SUB<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#BLEND_MODE_MUL"
|
|
title="BLEND_MODE_MUL* = 3'i64"><wbr />BLEND_<wbr />MODE_<wbr />MUL<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#BLEND_MODE_PREMULT_ALPHA"
|
|
title="BLEND_MODE_PREMULT_ALPHA* = 4'i64"><wbr />BLEND_<wbr />MODE_<wbr />PREMULT_<wbr />ALPHA<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#NOTIFICATION_DRAW"
|
|
title="NOTIFICATION_DRAW* = 30'i64"><wbr />NOTIFICATION_<wbr />DRAW<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#NOTIFICATION_VISIBILITY_CHANGED"
|
|
title="NOTIFICATION_VISIBILITY_CHANGED* = 31'i64"><wbr />NOTIFICATION_<wbr />VISIBILITY_<wbr />CHANGED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#NOTIFICATION_ENTER_CANVAS"
|
|
title="NOTIFICATION_ENTER_CANVAS* = 32'i64"><wbr />NOTIFICATION_<wbr />ENTER_<wbr />CANVAS<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#NOTIFICATION_EXIT_CANVAS"
|
|
title="NOTIFICATION_EXIT_CANVAS* = 33'i64"><wbr />NOTIFICATION_<wbr />EXIT_<wbr />CANVAS<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#NOTIFICATION_TRANSFORM_CHANGED"
|
|
title="NOTIFICATION_TRANSFORM_CHANGED* = 29'i64"><wbr />NOTIFICATION_<wbr />TRANSFORM_<wbr />CHANGED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#visible,CanvasItem"
|
|
title="visible*(self: CanvasItem): bool"><wbr />visible<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,bool"
|
|
title="`visible =`*(self: CanvasItem; val: bool)">`<wbr />visible<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#modulate,CanvasItem"
|
|
title="modulate*(self: CanvasItem): Color"><wbr />modulate<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,Color"
|
|
title="`modulate =`*(self: CanvasItem; val: Color)">`<wbr />modulate<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#selfModulate,CanvasItem"
|
|
title="selfModulate*(self: CanvasItem): Color"><wbr />self<wbr />Modulate<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,Color_2"
|
|
title="`selfModulate =`*(self: CanvasItem; val: Color)">`<wbr />self<wbr />Modulate<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#showBehindParent,CanvasItem"
|
|
title="showBehindParent*(self: CanvasItem): bool"><wbr />show<wbr />Behind<wbr />Parent<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,bool_2"
|
|
title="`showBehindParent =`*(self: CanvasItem; val: bool)">`<wbr />show<wbr />Behind<wbr />Parent<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#showOnTop,CanvasItem"
|
|
title="showOnTop*(self: CanvasItem): bool"><wbr />show<wbr />On<wbr />Top<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,bool_3"
|
|
title="`showOnTop =`*(self: CanvasItem; val: bool)">`<wbr />show<wbr />On<wbr />Top<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#lightMask,CanvasItem"
|
|
title="lightMask*(self: CanvasItem): int64"><wbr />light<wbr />Mask<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,int64"
|
|
title="`lightMask =`*(self: CanvasItem; val: int64)">`<wbr />light<wbr />Mask<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#material,CanvasItem"
|
|
title="material*(self: CanvasItem): Material"><wbr />material<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,Material"
|
|
title="`material =`*(self: CanvasItem; val: Material)">`<wbr />material<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#useParentMaterial,CanvasItem"
|
|
title="useParentMaterial*(self: CanvasItem): bool"><wbr />use<wbr />Parent<wbr />Material<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#=,CanvasItem,bool_4"
|
|
title="`useParentMaterial =`*(self: CanvasItem; val: bool)">`<wbr />use<wbr />Parent<wbr />Material<wbr />=`<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#editSetState,CanvasItem,Variant"
|
|
title="editSetState*(self: CanvasItem; state: Variant)"><wbr />edit<wbr />Set<wbr />State<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#editGetState,CanvasItem"
|
|
title="editGetState*(self: CanvasItem): Variant"><wbr />edit<wbr />Get<wbr />State<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#editSetRect,CanvasItem,Rect2"
|
|
title="editSetRect*(self: CanvasItem; rect: Rect2)"><wbr />edit<wbr />Set<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#editRotate,CanvasItem,float64"
|
|
title="editRotate*(self: CanvasItem; degrees: float64)"><wbr />edit<wbr />Rotate<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getItemRect,CanvasItem"
|
|
title="getItemRect*(self: CanvasItem): Rect2"><wbr />get<wbr />Item<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getItemAndChildrenRect,CanvasItem"
|
|
title="getItemAndChildrenRect*(self: CanvasItem): Rect2"><wbr />get<wbr />Item<wbr />And<wbr />Children<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getCanvasItem,CanvasItem"
|
|
title="getCanvasItem*(self: CanvasItem): RID"><wbr />get<wbr />Canvas<wbr />Item<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isVisibleInTree,CanvasItem"
|
|
title="isVisibleInTree*(self: CanvasItem): bool"><wbr />is<wbr />Visible<wbr />In<wbr />Tree<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#show,CanvasItem"
|
|
title="show*(self: CanvasItem)"><wbr />show<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#hide,CanvasItem"
|
|
title="hide*(self: CanvasItem)"><wbr />hide<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#update,CanvasItem"
|
|
title="update*(self: CanvasItem)"><wbr />update<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setAsToplevel,CanvasItem,bool"
|
|
title="setAsToplevel*(self: CanvasItem; enable: bool)"><wbr />set<wbr />As<wbr />Toplevel<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isSetAsToplevel,CanvasItem"
|
|
title="isSetAsToplevel*(self: CanvasItem): bool"><wbr />is<wbr />Set<wbr />As<wbr />Toplevel<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawLine,CanvasItem,Vector2,Vector2,Color,float64,bool"
|
|
title="drawLine*(self: CanvasItem; fromm: Vector2; to: Vector2; color: Color;
|
|
width: float64 = 1.0; antialiased: bool = false)"><wbr />draw<wbr />Line<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawPolyline,CanvasItem,PoolVector2Array,Color,float64,bool"
|
|
title="drawPolyline*(self: CanvasItem; points: PoolVector2Array; color: Color;
|
|
width: float64 = 1.0; antialiased: bool = false)"><wbr />draw<wbr />Polyline<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawPolylineColors,CanvasItem,PoolVector2Array,PoolColorArray,float64,bool"
|
|
title="drawPolylineColors*(self: CanvasItem; points: PoolVector2Array;
|
|
colors: PoolColorArray; width: float64 = 1.0;
|
|
antialiased: bool = false)"><wbr />draw<wbr />Polyline<wbr />Colors<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawRect,CanvasItem,Rect2,Color,bool"
|
|
title="drawRect*(self: CanvasItem; rect: Rect2; color: Color; filled: bool = true)"><wbr />draw<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawCircle,CanvasItem,Vector2,float64,Color"
|
|
title="drawCircle*(self: CanvasItem; pos: Vector2; radius: float64; color: Color)"><wbr />draw<wbr />Circle<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawTexture,CanvasItem,Texture,Vector2,Color,Texture"
|
|
title="drawTexture*(self: CanvasItem; texture: Texture; pos: Vector2;
|
|
modulate: Color = initColor(1.0, 1.0, 1.0, 1.0); normalMap: Texture = nil)"><wbr />draw<wbr />Texture<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawTextureRect,CanvasItem,Texture,Rect2,bool,Color,bool,Texture"
|
|
title="drawTextureRect*(self: CanvasItem; texture: Texture; rect: Rect2; tile: bool;
|
|
modulate: Color = initColor(1.0, 1.0, 1.0, 1.0);
|
|
transpose: bool = false; normalMap: Texture = nil)"><wbr />draw<wbr />Texture<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawTextureRectRegion,CanvasItem,Texture,Rect2,Rect2,Color,bool,Texture,bool"
|
|
title="drawTextureRectRegion*(self: CanvasItem; texture: Texture; rect: Rect2;
|
|
srcRect: Rect2;
|
|
modulate: Color = initColor(1.0, 1.0, 1.0, 1.0);
|
|
transpose: bool = false; normalMap: Texture = nil;
|
|
clipUv: bool = true)"><wbr />draw<wbr />Texture<wbr />Rect<wbr />Region<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawStyleBox,CanvasItem,StyleBox,Rect2"
|
|
title="drawStyleBox*(self: CanvasItem; styleBox: StyleBox; rect: Rect2)"><wbr />draw<wbr />Style<wbr />Box<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawPrimitive,CanvasItem,PoolVector2Array,PoolColorArray,PoolVector2Array,Texture,float64,Texture"
|
|
title="drawPrimitive*(self: CanvasItem; points: PoolVector2Array; colors: PoolColorArray;
|
|
uvs: PoolVector2Array; texture: Texture = nil; width: float64 = 1.0;
|
|
normalMap: Texture = nil)"><wbr />draw<wbr />Primitive<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawPolygon,CanvasItem,PoolVector2Array,PoolColorArray,PoolVector2Array,Texture,Texture"
|
|
title="drawPolygon*(self: CanvasItem; points: PoolVector2Array; colors: PoolColorArray;
|
|
uvs: PoolVector2Array; texture: Texture = nil; normalMap: Texture = nil)"><wbr />draw<wbr />Polygon<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawColoredPolygon,CanvasItem,PoolVector2Array,Color,PoolVector2Array,Texture,Texture"
|
|
title="drawColoredPolygon*(self: CanvasItem; points: PoolVector2Array; color: Color;
|
|
uvs: PoolVector2Array; texture: Texture = nil;
|
|
normalMap: Texture = nil)"><wbr />draw<wbr />Colored<wbr />Polygon<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawString,CanvasItem,Font,Vector2,string,Color,int64"
|
|
title="drawString*(self: CanvasItem; font: Font; pos: Vector2; text: string;
|
|
modulate: Color = initColor(1.0, 1.0, 1.0, 1.0); clipW: int64 = - 1'i64)"><wbr />draw<wbr />String<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawChar,CanvasItem,Font,Vector2,string,string,Color"
|
|
title="drawChar*(self: CanvasItem; font: Font; pos: Vector2; char: string; next: string;
|
|
modulate: Color = initColor(1.0, 1.0, 1.0, 1.0)): float64"><wbr />draw<wbr />Char<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawSetTransform,CanvasItem,Vector2,float64,Vector2"
|
|
title="drawSetTransform*(self: CanvasItem; pos: Vector2; rot: float64; scale: Vector2)"><wbr />draw<wbr />Set<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#drawSetTransformMatrix,CanvasItem,Transform2D"
|
|
title="drawSetTransformMatrix*(self: CanvasItem; xform: Transform2D)"><wbr />draw<wbr />Set<wbr />Transform<wbr />Matrix<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getTransform,CanvasItem"
|
|
title="getTransform*(self: CanvasItem): Transform2D"><wbr />get<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getGlobalTransform,CanvasItem"
|
|
title="getGlobalTransform*(self: CanvasItem): Transform2D"><wbr />get<wbr />Global<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getGlobalTransformWithCanvas,CanvasItem"
|
|
title="getGlobalTransformWithCanvas*(self: CanvasItem): Transform2D"><wbr />get<wbr />Global<wbr />Transform<wbr />With<wbr />Canvas<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getViewportTransform,CanvasItem"
|
|
title="getViewportTransform*(self: CanvasItem): Transform2D"><wbr />get<wbr />Viewport<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getViewportRect,CanvasItem"
|
|
title="getViewportRect*(self: CanvasItem): Rect2"><wbr />get<wbr />Viewport<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getCanvasTransform,CanvasItem"
|
|
title="getCanvasTransform*(self: CanvasItem): Transform2D"><wbr />get<wbr />Canvas<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getLocalMousePos,CanvasItem"
|
|
title="getLocalMousePos*(self: CanvasItem): Vector2"><wbr />get<wbr />Local<wbr />Mouse<wbr />Pos<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getGlobalMousePosition,CanvasItem"
|
|
title="getGlobalMousePosition*(self: CanvasItem): Vector2"><wbr />get<wbr />Global<wbr />Mouse<wbr />Position<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getCanvas,CanvasItem"
|
|
title="getCanvas*(self: CanvasItem): RID"><wbr />get<wbr />Canvas<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getWorld2d,CanvasItem"
|
|
title="getWorld2d*(self: CanvasItem): World2D"><wbr />get<wbr />World2d<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setNotifyLocalTransform,CanvasItem,bool"
|
|
title="setNotifyLocalTransform*(self: CanvasItem; enable: bool)"><wbr />set<wbr />Notify<wbr />Local<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isLocalTransformNotificationEnabled,CanvasItem"
|
|
title="isLocalTransformNotificationEnabled*(self: CanvasItem): bool"><wbr />is<wbr />Local<wbr />Transform<wbr />Notification<wbr />Enabled<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setNotifyTransform,CanvasItem,bool"
|
|
title="setNotifyTransform*(self: CanvasItem; enable: bool)"><wbr />set<wbr />Notify<wbr />Transform<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isTransformNotificationEnabled,CanvasItem"
|
|
title="isTransformNotificationEnabled*(self: CanvasItem): bool"><wbr />is<wbr />Transform<wbr />Notification<wbr />Enabled<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#makeCanvasPosLocal,CanvasItem,Vector2"
|
|
title="makeCanvasPosLocal*(self: CanvasItem; screenPoint: Vector2): Vector2"><wbr />make<wbr />Canvas<wbr />Pos<wbr />Local<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#makeInputLocal,CanvasItem,InputEvent"
|
|
title="makeInputLocal*(self: CanvasItem; event: InputEvent): InputEvent"><wbr />make<wbr />Input<wbr />Local<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#13" id="63">Methods</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#draw.e,CanvasItem"
|
|
title="draw*(self: CanvasItem)"><wbr />draw<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#toplevelRaiseSelf.e,CanvasItem"
|
|
title="toplevelRaiseSelf*(self: CanvasItem)"><wbr />toplevel<wbr />Raise<wbr />Self<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#updateCallback.e,CanvasItem"
|
|
title="updateCallback*(self: CanvasItem)"><wbr />update<wbr />Callback<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
<div class="nine columns" id="content">
|
|
<div id="tocRoot"></div>
|
|
<p class="module-desc"></p>
|
|
<div class="section" id="6">
|
|
<h1><a class="toc-backref" href="#6">Imports</a></h1>
|
|
<dl class="item">
|
|
<a class="reference external" href="../godot.html">godot</a>, <a class="reference external" href="godottypes.html">godottypes</a>, <a class="reference external" href="../godotinternal.html">godotinternal</a>, <a class="reference external" href="node.html">node</a>
|
|
</dl></div>
|
|
<div class="section" id="10">
|
|
<h1><a class="toc-backref" href="#10">Consts</a></h1>
|
|
<dl class="item">
|
|
<dt id="BLEND_MODE_MIX"><a name="BLEND_MODE_MIX"></a><pre><span class="Identifier">BLEND_MODE_MIX</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="BLEND_MODE_ADD"><a name="BLEND_MODE_ADD"></a><pre><span class="Identifier">BLEND_MODE_ADD</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="BLEND_MODE_SUB"><a name="BLEND_MODE_SUB"></a><pre><span class="Identifier">BLEND_MODE_SUB</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="BLEND_MODE_MUL"><a name="BLEND_MODE_MUL"></a><pre><span class="Identifier">BLEND_MODE_MUL</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">3'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="BLEND_MODE_PREMULT_ALPHA"><a name="BLEND_MODE_PREMULT_ALPHA"></a><pre><span class="Identifier">BLEND_MODE_PREMULT_ALPHA</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">4'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="NOTIFICATION_DRAW"><a name="NOTIFICATION_DRAW"></a><pre><span class="Identifier">NOTIFICATION_DRAW</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">30'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="NOTIFICATION_VISIBILITY_CHANGED"><a name="NOTIFICATION_VISIBILITY_CHANGED"></a><pre><span class="Identifier">NOTIFICATION_VISIBILITY_CHANGED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">31'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="NOTIFICATION_ENTER_CANVAS"><a name="NOTIFICATION_ENTER_CANVAS"></a><pre><span class="Identifier">NOTIFICATION_ENTER_CANVAS</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">32'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="NOTIFICATION_EXIT_CANVAS"><a name="NOTIFICATION_EXIT_CANVAS"></a><pre><span class="Identifier">NOTIFICATION_EXIT_CANVAS</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">33'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="NOTIFICATION_TRANSFORM_CHANGED"><a name="NOTIFICATION_TRANSFORM_CHANGED"></a><pre><span class="Identifier">NOTIFICATION_TRANSFORM_CHANGED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">29'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
<div class="section" id="12">
|
|
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
|
<dl class="item">
|
|
<dt id="visible"><a name="visible,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">visible</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,bool"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">visible</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="modulate"><a name="modulate,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">modulate</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,Color"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">modulate</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="selfModulate"><a name="selfModulate,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">selfModulate</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,Color_2"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">selfModulate</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="showBehindParent"><a name="showBehindParent,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">showBehindParent</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,bool_2"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">showBehindParent</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="showOnTop"><a name="showOnTop,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">showOnTop</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,bool_3"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">showOnTop</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="lightMask"><a name="lightMask,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">lightMask</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,int64"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">lightMask</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="material"><a name="material,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">material</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Material</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,Material"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">material</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">Material</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="useParentMaterial"><a name="useParentMaterial,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">useParentMaterial</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="="><a name="=,CanvasItem,bool_4"></a><pre><span class="Keyword">proc</span> <span class="Other">`</span><span class="Identifier">useParentMaterial</span> <span class="Operator">=</span><span class="Other">`</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="editSetState"><a name="editSetState,CanvasItem,Variant"></a><pre><span class="Keyword">proc</span> <span class="Identifier">editSetState</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">state</span><span class="Other">:</span> <span class="Identifier">Variant</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="editGetState"><a name="editGetState,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">editGetState</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Variant</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="editSetRect"><a name="editSetRect,CanvasItem,Rect2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">editSetRect</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="editRotate"><a name="editRotate,CanvasItem,float64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">editRotate</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">degrees</span><span class="Other">:</span> <span class="Identifier">float64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getItemRect"><a name="getItemRect,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getItemRect</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Rect2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getItemAndChildrenRect"><a name="getItemAndChildrenRect,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getItemAndChildrenRect</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Rect2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getCanvasItem"><a name="getCanvasItem,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getCanvasItem</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">RID</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isVisibleInTree"><a name="isVisibleInTree,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isVisibleInTree</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="show"><a name="show,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">show</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="hide"><a name="hide,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">hide</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="update"><a name="update,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">update</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setAsToplevel"><a name="setAsToplevel,CanvasItem,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setAsToplevel</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">enable</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isSetAsToplevel"><a name="isSetAsToplevel,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isSetAsToplevel</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawLine"><a name="drawLine,CanvasItem,Vector2,Vector2,Color,float64,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawLine</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">fromm</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">to</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">;</span>
|
|
<span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Other">=</span> <span class="FloatNumber">1.0</span><span class="Other">;</span> <span class="Identifier">antialiased</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawPolyline"><a name="drawPolyline,CanvasItem,PoolVector2Array,Color,float64,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawPolyline</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">;</span>
|
|
<span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Other">=</span> <span class="FloatNumber">1.0</span><span class="Other">;</span> <span class="Identifier">antialiased</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawPolylineColors"><a name="drawPolylineColors,CanvasItem,PoolVector2Array,PoolColorArray,float64,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawPolylineColors</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span>
|
|
<span class="Identifier">colors</span><span class="Other">:</span> <span class="Identifier">PoolColorArray</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Other">=</span> <span class="FloatNumber">1.0</span><span class="Other">;</span>
|
|
<span class="Identifier">antialiased</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawRect"><a name="drawRect,CanvasItem,Rect2,Color,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawRect</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">;</span> <span class="Identifier">filled</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">true</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawCircle"><a name="drawCircle,CanvasItem,Vector2,float64,Color"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawCircle</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">pos</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">radius</span><span class="Other">:</span> <span class="Identifier">float64</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawTexture"><a name="drawTexture,CanvasItem,Texture,Vector2,Color,Texture"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawTexture</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">Texture</span><span class="Other">;</span> <span class="Identifier">pos</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span>
|
|
<span class="Identifier">modulate</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other">=</span> <span class="Identifier">initColor</span><span class="Other">(</span><span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">)</span><span class="Other">;</span>
|
|
<span class="Identifier">normalMap</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawTextureRect"><a name="drawTextureRect,CanvasItem,Texture,Rect2,bool,Color,bool,Texture"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawTextureRect</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">Texture</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span> <span class="Identifier">tile</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span>
|
|
<span class="Identifier">modulate</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other">=</span> <span class="Identifier">initColor</span><span class="Other">(</span><span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">)</span><span class="Other">;</span>
|
|
<span class="Identifier">transpose</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span> <span class="Identifier">normalMap</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawTextureRectRegion"><a name="drawTextureRectRegion,CanvasItem,Texture,Rect2,Rect2,Color,bool,Texture,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawTextureRectRegion</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">Texture</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span>
|
|
<span class="Identifier">srcRect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span>
|
|
<span class="Identifier">modulate</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other">=</span> <span class="Identifier">initColor</span><span class="Other">(</span><span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">)</span><span class="Other">;</span>
|
|
<span class="Identifier">transpose</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span> <span class="Identifier">normalMap</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">;</span>
|
|
<span class="Identifier">clipUv</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">true</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawStyleBox"><a name="drawStyleBox,CanvasItem,StyleBox,Rect2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawStyleBox</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">styleBox</span><span class="Other">:</span> <span class="Identifier">StyleBox</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawPrimitive"><a name="drawPrimitive,CanvasItem,PoolVector2Array,PoolColorArray,PoolVector2Array,Texture,float64,Texture"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawPrimitive</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span>
|
|
<span class="Identifier">colors</span><span class="Other">:</span> <span class="Identifier">PoolColorArray</span><span class="Other">;</span> <span class="Identifier">uvs</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span>
|
|
<span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Other">=</span> <span class="FloatNumber">1.0</span><span class="Other">;</span>
|
|
<span class="Identifier">normalMap</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawPolygon"><a name="drawPolygon,CanvasItem,PoolVector2Array,PoolColorArray,PoolVector2Array,Texture,Texture"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawPolygon</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span> <span class="Identifier">colors</span><span class="Other">:</span> <span class="Identifier">PoolColorArray</span><span class="Other">;</span>
|
|
<span class="Identifier">uvs</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">;</span>
|
|
<span class="Identifier">normalMap</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawColoredPolygon"><a name="drawColoredPolygon,CanvasItem,PoolVector2Array,Color,PoolVector2Array,Texture,Texture"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawColoredPolygon</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">;</span>
|
|
<span class="Identifier">uvs</span><span class="Other">:</span> <span class="Identifier">PoolVector2Array</span><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">;</span>
|
|
<span class="Identifier">normalMap</span><span class="Other">:</span> <span class="Identifier">Texture</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawString"><a name="drawString,CanvasItem,Font,Vector2,string,Color,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawString</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">font</span><span class="Other">:</span> <span class="Identifier">Font</span><span class="Other">;</span> <span class="Identifier">pos</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">text</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
|
|
<span class="Identifier">modulate</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other">=</span> <span class="Identifier">initColor</span><span class="Other">(</span><span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">)</span><span class="Other">;</span> <span class="Identifier">clipW</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other">=</span> <span class="Operator">-</span> <span class="DecNumber">1'i64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawChar"><a name="drawChar,CanvasItem,Font,Vector2,string,string,Color"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawChar</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">font</span><span class="Other">:</span> <span class="Identifier">Font</span><span class="Other">;</span> <span class="Identifier">pos</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">char</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">next</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
|
|
<span class="Identifier">modulate</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other">=</span> <span class="Identifier">initColor</span><span class="Other">(</span><span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">,</span> <span class="FloatNumber">1.0</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawSetTransform"><a name="drawSetTransform,CanvasItem,Vector2,float64,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawSetTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">pos</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">rot</span><span class="Other">:</span> <span class="Identifier">float64</span><span class="Other">;</span> <span class="Identifier">scale</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="drawSetTransformMatrix"><a name="drawSetTransformMatrix,CanvasItem,Transform2D"></a><pre><span class="Keyword">proc</span> <span class="Identifier">drawSetTransformMatrix</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">xform</span><span class="Other">:</span> <span class="Identifier">Transform2D</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getTransform"><a name="getTransform,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Transform2D</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getGlobalTransform"><a name="getGlobalTransform,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getGlobalTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Transform2D</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getGlobalTransformWithCanvas"><a name="getGlobalTransformWithCanvas,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getGlobalTransformWithCanvas</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Transform2D</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getViewportTransform"><a name="getViewportTransform,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getViewportTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Transform2D</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getViewportRect"><a name="getViewportRect,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getViewportRect</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Rect2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getCanvasTransform"><a name="getCanvasTransform,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getCanvasTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Transform2D</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getLocalMousePos"><a name="getLocalMousePos,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getLocalMousePos</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Vector2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getGlobalMousePosition"><a name="getGlobalMousePosition,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getGlobalMousePosition</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Vector2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getCanvas"><a name="getCanvas,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getCanvas</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">RID</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getWorld2d"><a name="getWorld2d,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getWorld2d</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">World2D</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setNotifyLocalTransform"><a name="setNotifyLocalTransform,CanvasItem,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setNotifyLocalTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">enable</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isLocalTransformNotificationEnabled"><a name="isLocalTransformNotificationEnabled,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isLocalTransformNotificationEnabled</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setNotifyTransform"><a name="setNotifyTransform,CanvasItem,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setNotifyTransform</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">enable</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isTransformNotificationEnabled"><a name="isTransformNotificationEnabled,CanvasItem"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isTransformNotificationEnabled</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="makeCanvasPosLocal"><a name="makeCanvasPosLocal,CanvasItem,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">makeCanvasPosLocal</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">screenPoint</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Vector2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="makeInputLocal"><a name="makeInputLocal,CanvasItem,InputEvent"></a><pre><span class="Keyword">proc</span> <span class="Identifier">makeInputLocal</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">;</span> <span class="Identifier">event</span><span class="Other">:</span> <span class="Identifier">InputEvent</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InputEvent</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
<div class="section" id="13">
|
|
<h1><a class="toc-backref" href="#13">Methods</a></h1>
|
|
<dl class="item">
|
|
<dt id="draw"><a name="draw.e,CanvasItem"></a><pre><span class="Keyword">method</span> <span class="Identifier">draw</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">base</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="toplevelRaiseSelf"><a name="toplevelRaiseSelf.e,CanvasItem"></a><pre><span class="Keyword">method</span> <span class="Identifier">toplevelRaiseSelf</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">base</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="updateCallback"><a name="updateCallback.e,CanvasItem"></a><pre><span class="Keyword">method</span> <span class="Identifier">updateCallback</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">CanvasItem</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">base</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="twelve-columns footer">
|
|
<span class="nim-sprite"></span>
|
|
<br/>
|
|
<small>Made with Nim. Generated: 2017-08-11 06:40:09 UTC</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|