Package | jp.nyatla.nyartoolkit.as3.core.labeling |
Class | public class NyARLabelInfoStack |
Inheritance | NyARLabelInfoStack Object |
Subclasses | NyARRleLabelFragmentInfoStack |
Property | Defined By | ||
---|---|---|---|
_items : Vector.<NyARLabelInfo> | NyARLabelInfoStack | ||
_length : int | NyARLabelInfoStack |
Method | Defined By | ||
---|---|---|---|
NyARLabelInfoStack(i_length:int) | NyARLabelInfoStack | ||
clear():void
見かけ上の要素数をリセットします。
| NyARLabelInfoStack | ||
getArray():Vector.<NyARLabelInfo>
配列を返します。
| 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 | ||
prePush():*
新しい領域を予約します。
| NyARLabelInfoStack | ||
sortByArea():void
エリアの大きい順にラベルをソートします。
| NyARLabelInfoStack |
Method | Defined By | ||
---|---|---|---|
createArray(i_length:int):Vector.<NyARLabelInfo> | NyARLabelInfoStack |
_items | property |
protected var _items:Vector.<NyARLabelInfo>
_length | property |
protected var _length:int
NyARLabelInfoStack | () | Constructor |
public function NyARLabelInfoStack(i_length:int)
i_length:int |
clear | () | method |
public function clear():void
見かけ上の要素数をリセットします。
createArray | () | method |
protected function createArray(i_length:int):Vector.<NyARLabelInfo>
Parameters
i_length:int |
Vector.<NyARLabelInfo> |
getArray | () | method |
getItem | () | method |
getLength | () | method |
public function getLength():int
配列の見かけ上の要素数を返却します。
Returnsint —
|
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
|
NyARException
|
sortByArea | () | method |
public function sortByArea():void
エリアの大きい順にラベルをソートします。