1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc --> 6<title>ImageViewState (library 3.9.0 API)</title> 7<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 8<script type="text/javascript" src="../../../../script.js"></script> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 try { 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="ImageViewState (library 3.9.0 API)"; 15 } 16 } 17 catch(err) { 18 } 19//--> 20var methods = {"i0":10,"i1":10,"i2":10}; 21var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 22var altColor = "altColor"; 23var rowColor = "rowColor"; 24var tableTab = "tableTab"; 25var activeTableTab = "activeTableTab"; 26</script> 27<noscript> 28<div>JavaScript is disabled on your browser.</div> 29</noscript> 30<!-- ========= START OF TOP NAVBAR ======= --> 31<div class="topNav"><a name="navbar.top"> 32<!-- --> 33</a> 34<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 35<a name="navbar.top.firstrow"> 36<!-- --> 37</a> 38<ul class="navList" title="Navigation"> 39<li><a href="../../../../overview-summary.html">Overview</a></li> 40<li><a href="package-summary.html">Package</a></li> 41<li class="navBarCell1Rev">Class</li> 42<li><a href="package-tree.html">Tree</a></li> 43<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 44<li><a href="../../../../index-all.html">Index</a></li> 45<li><a href="../../../../help-doc.html">Help</a></li> 46</ul> 47</div> 48<div class="subNav"> 49<ul class="navList"> 50<li><a href="../../../../com/davemorrissey/labs/subscaleview/ImageSource.html" title="class in com.davemorrissey.labs.subscaleview"><span class="typeNameLink">Prev Class</span></a></li> 51<li><a href="../../../../com/davemorrissey/labs/subscaleview/SubsamplingScaleImageView.html" title="class in com.davemorrissey.labs.subscaleview"><span class="typeNameLink">Next Class</span></a></li> 52</ul> 53<ul class="navList"> 54<li><a href="../../../../index.html?com/davemorrissey/labs/subscaleview/ImageViewState.html" target="_top">Frames</a></li> 55<li><a href="ImageViewState.html" target="_top">No Frames</a></li> 56</ul> 57<ul class="navList" id="allclasses_navbar_top"> 58<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 59</ul> 60<div> 61<script type="text/javascript"><!-- 62 allClassesLink = document.getElementById("allclasses_navbar_top"); 63 if(window==top) { 64 allClassesLink.style.display = "block"; 65 } 66 else { 67 allClassesLink.style.display = "none"; 68 } 69 //--> 70</script> 71</div> 72<div> 73<ul class="subNavList"> 74<li>Summary: </li> 75<li>Nested | </li> 76<li>Field | </li> 77<li><a href="#constructor.summary">Constr</a> | </li> 78<li><a href="#method.summary">Method</a></li> 79</ul> 80<ul class="subNavList"> 81<li>Detail: </li> 82<li>Field | </li> 83<li><a href="#constructor.detail">Constr</a> | </li> 84<li><a href="#method.detail">Method</a></li> 85</ul> 86</div> 87<a name="skip.navbar.top"> 88<!-- --> 89</a></div> 90<!-- ========= END OF TOP NAVBAR ========= --> 91<!-- ======== START OF CLASS DATA ======== --> 92<div class="header"> 93<div class="subTitle">com.davemorrissey.labs.subscaleview</div> 94<h2 title="Class ImageViewState" class="title">Class ImageViewState</h2> 95</div> 96<div class="contentContainer"> 97<ul class="inheritance"> 98<li><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 99<li> 100<ul class="inheritance"> 101<li>com.davemorrissey.labs.subscaleview.ImageViewState</li> 102</ul> 103</li> 104</ul> 105<div class="description"> 106<ul class="blockList"> 107<li class="blockList"> 108<dl> 109<dt>All Implemented Interfaces:</dt> 110<dd><a href="https://developer.android.com/reference/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 111</dl> 112<hr> 113<br> 114<pre>public class <span class="typeNameLabel">ImageViewState</span> 115extends <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 116implements <a href="https://developer.android.com/reference/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 117<div class="block">Wraps the scale, center and orientation of a displayed image for easy restoration on screen rotate.</div> 118<dl> 119<dt><span class="seeLabel">See Also:</span></dt> 120<dd><a href="../../../../serialized-form.html#com.davemorrissey.labs.subscaleview.ImageViewState">Serialized Form</a></dd> 121</dl> 122</li> 123</ul> 124</div> 125<div class="summary"> 126<ul class="blockList"> 127<li class="blockList"> 128<!-- ======== CONSTRUCTOR SUMMARY ======== --> 129<ul class="blockList"> 130<li class="blockList"><a name="constructor.summary"> 131<!-- --> 132</a> 133<h3>Constructor Summary</h3> 134<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 135<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 136<tr> 137<th class="colOne" scope="col">Constructor and Description</th> 138</tr> 139<tr class="altColor"> 140<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/davemorrissey/labs/subscaleview/ImageViewState.html#ImageViewState-float-android.graphics.PointF-int-">ImageViewState</a></span>(float scale, 141 <a href="https://developer.android.com/reference/android/graphics/PointF.html?is-external=true" title="class or interface in android.graphics">PointF</a> center, 142 int orientation)</code> </td> 143</tr> 144</table> 145</li> 146</ul> 147<!-- ========== METHOD SUMMARY =========== --> 148<ul class="blockList"> 149<li class="blockList"><a name="method.summary"> 150<!-- --> 151</a> 152<h3>Method Summary</h3> 153<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 154<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 155<tr> 156<th class="colFirst" scope="col">Modifier and Type</th> 157<th class="colLast" scope="col">Method and Description</th> 158</tr> 159<tr id="i0" class="altColor"> 160<td class="colFirst"><code><a href="https://developer.android.com/reference/android/graphics/PointF.html?is-external=true" title="class or interface in android.graphics">PointF</a></code></td> 161<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/davemorrissey/labs/subscaleview/ImageViewState.html#getCenter--">getCenter</a></span>()</code> </td> 162</tr> 163<tr id="i1" class="rowColor"> 164<td class="colFirst"><code>int</code></td> 165<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/davemorrissey/labs/subscaleview/ImageViewState.html#getOrientation--">getOrientation</a></span>()</code> </td> 166</tr> 167<tr id="i2" class="altColor"> 168<td class="colFirst"><code>float</code></td> 169<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/davemorrissey/labs/subscaleview/ImageViewState.html#getScale--">getScale</a></span>()</code> </td> 170</tr> 171</table> 172<ul class="blockList"> 173<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 174<!-- --> 175</a> 176<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 177<code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 178</ul> 179</li> 180</ul> 181</li> 182</ul> 183</div> 184<div class="details"> 185<ul class="blockList"> 186<li class="blockList"> 187<!-- ========= CONSTRUCTOR DETAIL ======== --> 188<ul class="blockList"> 189<li class="blockList"><a name="constructor.detail"> 190<!-- --> 191</a> 192<h3>Constructor Detail</h3> 193<a name="ImageViewState-float-android.graphics.PointF-int-"> 194<!-- --> 195</a> 196<ul class="blockListLast"> 197<li class="blockList"> 198<h4>ImageViewState</h4> 199<pre>public ImageViewState(float scale, 200 <a href="https://developer.android.com/reference/android/graphics/PointF.html?is-external=true" title="class or interface in android.graphics">PointF</a> center, 201 int orientation)</pre> 202</li> 203</ul> 204</li> 205</ul> 206<!-- ============ METHOD DETAIL ========== --> 207<ul class="blockList"> 208<li class="blockList"><a name="method.detail"> 209<!-- --> 210</a> 211<h3>Method Detail</h3> 212<a name="getScale--"> 213<!-- --> 214</a> 215<ul class="blockList"> 216<li class="blockList"> 217<h4>getScale</h4> 218<pre>public float getScale()</pre> 219</li> 220</ul> 221<a name="getCenter--"> 222<!-- --> 223</a> 224<ul class="blockList"> 225<li class="blockList"> 226<h4>getCenter</h4> 227<pre>public <a href="https://developer.android.com/reference/android/graphics/PointF.html?is-external=true" title="class or interface in android.graphics">PointF</a> getCenter()</pre> 228</li> 229</ul> 230<a name="getOrientation--"> 231<!-- --> 232</a> 233<ul class="blockListLast"> 234<li class="blockList"> 235<h4>getOrientation</h4> 236<pre>public int getOrientation()</pre> 237</li> 238</ul> 239</li> 240</ul> 241</li> 242</ul> 243</div> 244</div> 245<!-- ========= END OF CLASS DATA ========= --> 246<!-- ======= START OF BOTTOM NAVBAR ====== --> 247<div class="bottomNav"><a name="navbar.bottom"> 248<!-- --> 249</a> 250<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 251<a name="navbar.bottom.firstrow"> 252<!-- --> 253</a> 254<ul class="navList" title="Navigation"> 255<li><a href="../../../../overview-summary.html">Overview</a></li> 256<li><a href="package-summary.html">Package</a></li> 257<li class="navBarCell1Rev">Class</li> 258<li><a href="package-tree.html">Tree</a></li> 259<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 260<li><a href="../../../../index-all.html">Index</a></li> 261<li><a href="../../../../help-doc.html">Help</a></li> 262</ul> 263</div> 264<div class="subNav"> 265<ul class="navList"> 266<li><a href="../../../../com/davemorrissey/labs/subscaleview/ImageSource.html" title="class in com.davemorrissey.labs.subscaleview"><span class="typeNameLink">Prev Class</span></a></li> 267<li><a href="../../../../com/davemorrissey/labs/subscaleview/SubsamplingScaleImageView.html" title="class in com.davemorrissey.labs.subscaleview"><span class="typeNameLink">Next Class</span></a></li> 268</ul> 269<ul class="navList"> 270<li><a href="../../../../index.html?com/davemorrissey/labs/subscaleview/ImageViewState.html" target="_top">Frames</a></li> 271<li><a href="ImageViewState.html" target="_top">No Frames</a></li> 272</ul> 273<ul class="navList" id="allclasses_navbar_bottom"> 274<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 275</ul> 276<div> 277<script type="text/javascript"><!-- 278 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 279 if(window==top) { 280 allClassesLink.style.display = "block"; 281 } 282 else { 283 allClassesLink.style.display = "none"; 284 } 285 //--> 286</script> 287</div> 288<div> 289<ul class="subNavList"> 290<li>Summary: </li> 291<li>Nested | </li> 292<li>Field | </li> 293<li><a href="#constructor.summary">Constr</a> | </li> 294<li><a href="#method.summary">Method</a></li> 295</ul> 296<ul class="subNavList"> 297<li>Detail: </li> 298<li>Field | </li> 299<li><a href="#constructor.detail">Constr</a> | </li> 300<li><a href="#method.detail">Method</a></li> 301</ul> 302</div> 303<a name="skip.navbar.bottom"> 304<!-- --> 305</a></div> 306<!-- ======== END OF BOTTOM NAVBAR ======= --> 307</body> 308</html> 309