PageRenderTime 72ms CodeModel.GetById 49ms app.highlight 18ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/MarkerManagerDemo/bin-release/srcview/source/com/google/maps/examples/GridBounds.as.html

http://gmaps-utility-library-flash.googlecode.com/
HTML | 157 lines | 131 code | 25 blank | 1 comment | 0 complexity | 38d213d0ca599eb45d19419bd723706f MD5 | raw file
  1<!-- saved from url=(0014)about:internet -->
  2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3<html xmlns="http://www.w3.org/1999/xhtml">
  4<head>
  5<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6<title>GridBounds.as</title>
  7<link rel="stylesheet" type="text/css" href="../../../../../SourceStyles.css"/>
  8</head>
  9
 10<body><pre><span class="ActionScriptpackage">package</span> <span class="ActionScriptDefault_Text">com</span>.<span class="ActionScriptDefault_Text">google</span>.<span class="ActionScriptDefault_Text">maps</span>.<span class="ActionScriptDefault_Text">examples</span> <span class="ActionScriptBracket/Brace">{</span>
 11<span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">flash</span>.<span class="ActionScriptDefault_Text">geom</span>.<span class="ActionScriptDefault_Text">Point</span>;
 12
 13<span class="ActionScriptReserved">public</span> <span class="ActionScriptclass">class</span> <span class="ActionScriptDefault_Text">GridBounds</span> <span class="ActionScriptBracket/Brace">{</span>
 14  <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">z</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
 15  <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">minX</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
 16  <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">minY</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
 17  <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">maxX</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
 18  <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">maxY</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
 19
 20  
 21<span class="ActionScriptASDoc">/**
 22 * A Bounds is defined by minimum and maximum X and Y coordinates on a plane.
 23 * @param {Array.&lt;Point&gt;} opt_points  Points which this Bound must contain.
 24 * @constructor
 25 */</span>
 26<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">GridBounds</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">opt_points</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Array</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
 27  <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Infinity</span>;
 28  <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Infinity</span>;
 29  <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptOperator">-</span><span class="ActionScriptDefault_Text">Infinity</span>;
 30  <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptOperator">-</span><span class="ActionScriptDefault_Text">Infinity</span>;
 31  <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">opt_points</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">opt_points</span>.<span class="ActionScriptDefault_Text">length</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 32    <span class="ActionScriptReserved">for</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> 0; <span class="ActionScriptDefault_Text">i</span> <span class="ActionScriptOperator">&lt;</span> <span class="ActionScriptDefault_Text">opt_points</span>.<span class="ActionScriptDefault_Text">length</span>; <span class="ActionScriptDefault_Text">i</span><span class="ActionScriptOperator">++</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 33      <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">extend</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">opt_points</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">i</span><span class="ActionScriptBracket/Brace">])</span>;
 34    <span class="ActionScriptBracket/Brace">}</span>
 35  <span class="ActionScriptBracket/Brace">}</span> 
 36<span class="ActionScriptBracket/Brace">}</span>
 37
 38<span class="ActionScriptASDoc">/**
 39 * Gets the minimum x and y in this bound.
 40 *
 41 * @return {Point}
 42 */</span>
 43<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">min</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Point</span> <span class="ActionScriptBracket/Brace">{</span>
 44  <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span>, <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span><span class="ActionScriptBracket/Brace">)</span>;
 45<span class="ActionScriptBracket/Brace">}</span>
 46
 47
 48<span class="ActionScriptASDoc">/**
 49 * Gets the maximum x and y in this bound.
 50 *
 51 * @return {Point}
 52 */</span>
 53<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">max</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Point</span> <span class="ActionScriptBracket/Brace">{</span>
 54  <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span>, <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span><span class="ActionScriptBracket/Brace">)</span>;
 55<span class="ActionScriptBracket/Brace">}</span>
 56
 57
 58<span class="ActionScriptASDoc">/**
 59 * @return {Size} The size of this bounds.
 60 */</span>
 61<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">getSize</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Point</span> <span class="ActionScriptBracket/Brace">{</span>
 62  <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span>, <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">-</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span><span class="ActionScriptBracket/Brace">)</span>;
 63<span class="ActionScriptBracket/Brace">}</span>
 64
 65
 66<span class="ActionScriptASDoc">/**
 67 * Gets the midpoint x and y in this bound.
 68 *
 69 * @return {Point} The midpoint.
 70 */</span>
 71<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">mid</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Point</span> <span class="ActionScriptBracket/Brace">{</span>
 72  <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">((</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">/</span> 2, <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">/</span> 2<span class="ActionScriptBracket/Brace">)</span>;
 73<span class="ActionScriptBracket/Brace">}</span>
 74
 75
 76<span class="ActionScriptASDoc">/**
 77 * Returns a string representation of this bound.
 78 *
 79 * @returns {string}
 80 */</span>
 81<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptBracket/Brace">{</span>
 82  <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">&quot;(&quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">min</span><span class="ActionScriptBracket/Brace">()</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">&quot;, &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">max</span><span class="ActionScriptBracket/Brace">()</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">&quot;)&quot;</span>;
 83<span class="ActionScriptBracket/Brace">}</span>
 84
 85<span class="ActionScriptASDoc">/**
 86 * Test for empty bounds.
 87 * @return {boolean}  This Bounds is empty
 88 */</span>
 89<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">isEmpty</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptBracket/Brace">{</span>
 90  <span class="ActionScriptReserved">return</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">&gt;</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">||</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">&gt;</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span><span class="ActionScriptBracket/Brace">)</span>;
 91<span class="ActionScriptBracket/Brace">}</span>
 92
 93
 94<span class="ActionScriptASDoc">/**
 95 * Returns true if this bounds (inclusively) contains the given bounds.
 96 * @param {Bounds} inner  Inner Bounds.
 97 * @return {boolean} This Bounds contains the given Bounds.
 98 */</span>
 99<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">containsBounds</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">inner</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">GridBounds</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptBracket/Brace">{</span>
100  <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">outer</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">GridBounds</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">this</span>;
101  <span class="ActionScriptReserved">return</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">&lt;=</span> <span class="ActionScriptDefault_Text">inner</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">&amp;&amp;</span>
102          <span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">&gt;=</span> <span class="ActionScriptDefault_Text">inner</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">&amp;&amp;</span>
103          <span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">&lt;=</span> <span class="ActionScriptDefault_Text">inner</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">&amp;&amp;</span>
104          <span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">&gt;=</span> <span class="ActionScriptDefault_Text">inner</span>.<span class="ActionScriptDefault_Text">maxY</span><span class="ActionScriptBracket/Brace">)</span>;
105<span class="ActionScriptBracket/Brace">}</span>
106
107
108<span class="ActionScriptASDoc">/**
109 * Returns true if this bounds (inclusively) contains the given point.
110 * @param {Point} point  The point to test.
111 * @return {boolean} This Bounds contains the given Point.
112 */</span>
113<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">containsPoint</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">point</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptBracket/Brace">{</span>
114  <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">outer</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">GridBounds</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">this</span>;
115  <span class="ActionScriptReserved">return</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">&lt;=</span> <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">x</span> <span class="ActionScriptOperator">&amp;&amp;</span>
116          <span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">&gt;=</span> <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">x</span> <span class="ActionScriptOperator">&amp;&amp;</span>
117          <span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">&lt;=</span> <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">y</span> <span class="ActionScriptOperator">&amp;&amp;</span>
118          <span class="ActionScriptDefault_Text">outer</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">&gt;=</span> <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">y</span><span class="ActionScriptBracket/Brace">)</span>;
119<span class="ActionScriptBracket/Brace">}</span>
120
121
122
123<span class="ActionScriptASDoc">/**
124 * Extends this bounds to contain the given point.
125 *
126 * @param {Point} point  Additional point.
127 */</span>
128<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">extend</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">point</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Point</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span> <span class="ActionScriptBracket/Brace">{</span>
129  <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">isEmpty</span><span class="ActionScriptBracket/Brace">())</span> <span class="ActionScriptBracket/Brace">{</span>
130    <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">x</span>;
131    <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">y</span>;
132  <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptReserved">else</span> <span class="ActionScriptBracket/Brace">{</span>
133    <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Math</span>.<span class="ActionScriptDefault_Text">min</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span>, <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">x</span><span class="ActionScriptBracket/Brace">)</span>;
134    <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Math</span>.<span class="ActionScriptDefault_Text">max</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span>, <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">x</span><span class="ActionScriptBracket/Brace">)</span>;
135    <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Math</span>.<span class="ActionScriptDefault_Text">min</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span>, <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">y</span><span class="ActionScriptBracket/Brace">)</span>;
136    <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Math</span>.<span class="ActionScriptDefault_Text">max</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span>, <span class="ActionScriptDefault_Text">point</span>.<span class="ActionScriptDefault_Text">y</span><span class="ActionScriptBracket/Brace">)</span>;
137  <span class="ActionScriptBracket/Brace">}</span>
138<span class="ActionScriptBracket/Brace">}</span>
139
140
141<span class="ActionScriptASDoc">/**
142 * Compare this bounds to another.
143 * @param {Bounds} bounds The bounds to test against.
144 * @return {boolean} True when the bounds are equal.
145 */</span>
146<span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">equals</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">bounds</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">GridBounds</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptBracket/Brace">{</span>
147  <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">bounds</span>.<span class="ActionScriptDefault_Text">minX</span> <span class="ActionScriptOperator">&amp;&amp;</span>
148         <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">bounds</span>.<span class="ActionScriptDefault_Text">minY</span> <span class="ActionScriptOperator">&amp;&amp;</span>
149         <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">bounds</span>.<span class="ActionScriptDefault_Text">maxX</span> <span class="ActionScriptOperator">&amp;&amp;</span>
150         <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">maxY</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">bounds</span>.<span class="ActionScriptDefault_Text">maxY</span>;
151<span class="ActionScriptBracket/Brace">}</span>
152
153<span class="ActionScriptBracket/Brace">}</span>
154
155<span class="ActionScriptBracket/Brace">}</span>
156</pre></body>
157</html>