Packagejp.nyatla.nyartoolkit.as3.core.labeling
Classpublic class NyARLabelInfoStack
InheritanceNyARLabelInfoStack Inheritance Object
Subclasses NyARRleLabelFragmentInfoStack



Protected Properties
 PropertyDefined By
  _items : Vector.<NyARLabelInfo>
NyARLabelInfoStack
  _length : int
NyARLabelInfoStack
Public Methods
 MethodDefined By
  
NyARLabelInfoStack(i_length:int)
NyARLabelInfoStack
  
clear():void
見かけ上の要素数をリセットします。
NyARLabelInfoStack
  
配列を返します。
NyARLabelInfoStack
  
getItem(i_index:int):NyARLabelInfo
NyARLabelInfoStack
  
getLength():int
配列の見かけ上の要素数を返却します。
NyARLabelInfoStack
  
init(i_reserv_length:int):void
スタックを初期化します。
NyARLabelInfoStack
  
pop():*
見かけ上の要素数を1減らして、そのオブジェクトを返します。 返却したオブジェクトの内容は、次回のpushまで有効です。
NyARLabelInfoStack
  
pops(i_count:int):void
見かけ上の要素数をi_count個減らします。
NyARLabelInfoStack
  
新しい領域を予約します。
NyARLabelInfoStack
  
sortByArea():void
エリアの大きい順にラベルをソートします。
NyARLabelInfoStack
Protected Methods
 MethodDefined By
  
createArray(i_length:int):Vector.<NyARLabelInfo>
NyARLabelInfoStack
Property Detail
_itemsproperty
protected var _items:Vector.<NyARLabelInfo>

_lengthproperty 
protected var _length:int

Constructor Detail
NyARLabelInfoStack()Constructor
public function NyARLabelInfoStack(i_length:int)



Parameters
i_length:int
Method Detail
clear()method
public function clear():void

見かけ上の要素数をリセットします。

createArray()method 
protected function createArray(i_length:int):Vector.<NyARLabelInfo>

Parameters

i_length:int

Returns
Vector.<NyARLabelInfo>
getArray()method 
public function getArray():Vector.<NyARLabelInfo>

配列を返します。

Returns
Vector.<NyARLabelInfo>
getItem()method 
public function getItem(i_index:int):NyARLabelInfo

Parameters

i_index:int

Returns
NyARLabelInfo
getLength()method 
public function getLength():int

配列の見かけ上の要素数を返却します。

Returns
int
init()method 
public function init(i_reserv_length:int):void

スタックを初期化します。

Parameters

i_reserv_length:int — 使用済みにするサイズ

pop()method 
public function pop():*

見かけ上の要素数を1減らして、そのオブジェクトを返します。 返却したオブジェクトの内容は、次回のpushまで有効です。

Returns
*
pops()method 
public function pops(i_count:int):void

見かけ上の要素数をi_count個減らします。

Parameters

i_count:int

prePush()method 
public function prePush():*

新しい領域を予約します。

Returns
* — 失敗するとnull

Throws
NyARException
sortByArea()method 
public function sortByArea():void

エリアの大きい順にラベルをソートします。