Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 0a1223a3e4bb8a61fd0c6bd9fadbd0af > files > 172

qtcanvas3d5-doc-5.12.2-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- teximage3d.cpp -->
  <title>TextureImage QML Type | Qt Canvas 3D (deprecated) 5.12.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtcanvas3d-index.html">Qt Canvas 3D (deprecated)</a></td><td ><a href="qtcanvas3d-qmlmodule-obsolete.html">Qt Canvas 3D QML Types (deprecated)</a></td><td >TextureImage QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtcanvas3d-index.html">Qt 5.12.2 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">TextureImage QML Type</h1>
<span class="subtitle"></span>
<!-- $$$TextureImage-brief -->
<p>Contains a texture image. <a href="#details">More...</a></p>
<!-- @@@TextureImage -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtCanvas3D 1.1</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  QtCanvas3D 1.0</td></tr></table></div><ul>
<li><a href="qml-qtcanvas3d-textureimage-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcanvas3d-textureimage.html#errorString-28-29-prop">errorString()</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtcanvas3d-textureimage.html#height-28-29-prop">height()</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtcanvas3d-textureimage.html#imageState-28-29-prop">imageState()</a></b></b> : TextureImageState</li>
<li class="fn"><b><b><a href="qml-qtcanvas3d-textureimage.html#src-28-29-prop">src()</a></b></b> : url</li>
<li class="fn"><b><b><a href="qml-qtcanvas3d-textureimage.html#width-28-29-prop">width()</a></b></b> : int</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">TextureImage <b><b><a href="qml-qtcanvas3d-textureimage.html#create-method">create</a></b></b>()</li>
<li class="fn">int <b><b><a href="qml-qtcanvas3d-textureimage.html#id-method">id</a></b></b>()</li>
<li class="fn">TextureImage <b><b><a href="qml-qtcanvas3d-textureimage.html#resize-method">resize</a></b></b>(int <i>width</i>,  int <i>height</i>)</li>
</ul>
<!-- $$$TextureImage-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><b>Deprecated in Qt 5.12.</b> An uncreatable QML type that contains a texture image created by calling <a href="qml-qtcanvas3d-textureimagefactory.html#newTexImage-method">TextureImageFactory::newTexImage()</a> and settings the <code>src</code> of the image.</p>
<p><b>See also </b><a href="qml-qtcanvas3d-textureimagefactory.html">TextureImageFactory</a>.</p>
<!-- @@@TextureImage -->
<h2>Property Documentation</h2>
<!-- $$$errorString() -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="errorString-28-29-prop">
<td class="tblQmlPropNode"><p>
<a name="errorString-28-29-prop"></a><span class="name">errorString()</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Contains the error string if an error happened during image creation.</p>
</div></div><!-- @@@errorString() -->
<br/>
<!-- $$$height() -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="height-28-29-prop">
<td class="tblQmlPropNode"><p>
<a name="height-28-29-prop"></a><span class="name">height()</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Contains the texture image height.</p>
</div></div><!-- @@@height() -->
<br/>
<!-- $$$imageState() -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="imageState-28-29-prop">
<td class="tblQmlPropNode"><p>
<a name="imageState-28-29-prop"></a><span class="name">imageState()</span> : <span class="type">TextureImageState</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Contains the texture image state. It is one of <code>TextureImage.INITIALIZED</code>, <code>TextureImage.LOAD_PENDING</code>, <code>TextureImage.LOADING</code>, <code>TextureImage.LOADING_FINISHED</code> or <code>TextureImage.LOADING_ERROR</code>.</p>
</div></div><!-- @@@imageState() -->
<br/>
<!-- $$$src() -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="src-28-29-prop">
<td class="tblQmlPropNode"><p>
<a name="src-28-29-prop"></a><span class="name">src()</span> : <span class="type">url</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Contains the url source where the image data is loaded from.</p>
</div></div><!-- @@@src() -->
<br/>
<!-- $$$width() -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="width-28-29-prop">
<td class="tblQmlPropNode"><p>
<a name="width-28-29-prop"></a><span class="name">width()</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Contains the texture image width.</p>
</div></div><!-- @@@width() -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$create -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="create-method">
<td class="tblQmlFuncNode"><p>
<a name="create-method"></a><span class="type"><a href="qml-qtcanvas3d-textureimage.html">TextureImage</a></span> <span class="name">create</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Returns a new texture image.</p>
</div></div><!-- @@@create -->
<br/>
<!-- $$$id -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="id-method">
<td class="tblQmlFuncNode"><p>
<a name="id-method"></a><span class="type">int</span> <span class="name">id</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Contains the object id.</p>
</div></div><!-- @@@id -->
<br/>
<!-- $$$resize -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="resize-method">
<td class="tblQmlFuncNode"><p>
<a name="resize-method"></a><span class="type"><a href="qml-qtcanvas3d-textureimage.html">TextureImage</a></span> <span class="name">resize</span>(<span class="type">int</span> <i>width</i>,  <span class="type">int</span> <i>height</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p><b>Deprecated in Qt 5.12.</b> Returns a copy of the texture image resized to the given <i>width</i> and <i>height</i>.</p>
</div></div><!-- @@@resize -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>