| <html devsite="true"> |
| <head> |
| <title>AnimationVector1D</title> |
| {% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <div id="metadata-info-block"></div> |
| <h1>AnimationVector1D</h1> |
| <p> |
| <pre>public final class <a href="/reference/androidx/compose/animation/core/AnimationVector1D.html">AnimationVector1D</a> extends <a href="/reference/androidx/compose/animation/core/AnimationVector.html">AnimationVector</a></pre> |
| </p> |
| <div class="devsite-table-wrapper"> |
| <table class="jd-inheritance-table"> |
| <tbody> |
| <tr> |
| <td colspan="3"><a href="https://developer.android.com/reference/java/lang/Object.html">java.lang.Object</a></td> |
| </tr> |
| <tr> |
| <td class="jd-inheritance-space"> ↳</td> |
| <td colspan="2"><a href="/reference/androidx/compose/animation/core/AnimationVector.html">androidx.compose.animation.core.AnimationVector</a></td> |
| </tr> |
| <tr> |
| <td> </td> |
| <td class="jd-inheritance-space"> ↳</td> |
| <td colspan="1"><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html">androidx.compose.animation.core.AnimationVector1D</a></td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <hr> |
| <p>This class defines a 1D vector. It contains only one Float value that is initialized in the constructor.</p> |
| <h2>Summary</h2> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Public fields</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>final float</code></td> |
| <td> |
| <div><code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#value()">value</a></code></div> |
| <p>This field holds the only Float value in this <code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html">AnimationVector1D</a></code> object.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Public constructors</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td> |
| <div><code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#AnimationVector1D(kotlin.Float)">AnimationVector1D</a>(float initVal)</code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Public methods</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>boolean</code></td> |
| <td> |
| <div><code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#equals(kotlin.Any)">equals</a>(<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a> other)</code></div> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code>int</code></td> |
| <td> |
| <div><code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#hashCode()">hashCode</a>()</code></div> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td> |
| <td> |
| <div><code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#toString()">toString</a>()</code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Public fields</h2> |
| <div><a name="getValue()"></a><a name="setValue()"></a><a name="getValue--"></a><a name="setValue--"></a> |
| <h3 class="api-name" id="value()">value</h3> |
| <pre class="api-signature no-pretty-print">public final float <a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#value()">value</a></pre> |
| <p>This field holds the only Float value in this <code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html">AnimationVector1D</a></code> object.</p> |
| </div> |
| <h2>Public constructors</h2> |
| <div><a name="AnimationVector1D-kotlin.Float-"></a><a name="animationvector1d"></a> |
| <h3 class="api-name" id="AnimationVector1D(kotlin.Float)">AnimationVector1D</h3> |
| <pre class="api-signature no-pretty-print">public <a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#AnimationVector1D(kotlin.Float)">AnimationVector1D</a>(float initVal)</pre> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%">Parameters</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>float initVal</code></td> |
| <td> |
| <p>initial value to set the <code><a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#value()">value</a></code> field to.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <h2>Public methods</h2> |
| <div><a name="equals-kotlin.Any-"></a><a name="equals"></a> |
| <h3 class="api-name" id="equals(kotlin.Any)">equals</h3> |
| <pre class="api-signature no-pretty-print">public boolean <a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#equals(kotlin.Any)">equals</a>(<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a> other)</pre> |
| </div> |
| <div><a name="hashCode--"></a><a name="hashcode"></a> |
| <h3 class="api-name" id="hashCode()">hashCode</h3> |
| <pre class="api-signature no-pretty-print">public int <a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#hashCode()">hashCode</a>()</pre> |
| </div> |
| <div><a name="toString--"></a><a name="tostring"></a> |
| <h3 class="api-name" id="toString()">toString</h3> |
| <pre class="api-signature no-pretty-print">public @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a> <a href="/reference/androidx/compose/animation/core/AnimationVector1D.html#toString()">toString</a>()</pre> |
| </div> |
| </body> |
| </html> |