| | 95 | /** |
|---|
| | 96 | * マーカ全体を10とした場合の、枠の太さ(X方向)を取得 |
|---|
| | 97 | */ |
|---|
| | 98 | public function get frameWidthByDec():Number |
|---|
| | 99 | { |
|---|
| | 100 | return this._extPatXwBase - WK_WORLD_BASE; |
|---|
| | 101 | } |
|---|
| | 102 | |
|---|
| | 103 | /** |
|---|
| | 104 | * マーカ全体を10とした場合の、枠の太さ(X方向)を変更 |
|---|
| | 105 | * @param value 新しい値 |
|---|
| | 106 | */ |
|---|
| | 107 | public function set frameWidthByDec(value:Number):void |
|---|
| | 108 | { |
|---|
| | 109 | this._extPatXwBase = WK_WORLD_BASE + value; |
|---|
| | 110 | this._extPatXwStep = (WK_WORLD_ADD - value * 2); |
|---|
| | 111 | } |
|---|
| | 112 | |
|---|
| | 113 | /** |
|---|
| | 114 | * マーカ全体を10とした場合の、枠の太さ(Y方向)を取得 |
|---|
| | 115 | */ |
|---|
| | 116 | public function get frameHeightByDec():Number |
|---|
| | 117 | { |
|---|
| | 118 | return this._extPatXwBase - WK_WORLD_BASE; |
|---|
| | 119 | } |
|---|
| | 120 | |
|---|
| | 121 | /** |
|---|
| | 122 | * マーカ全体を10とした場合の、枠の太さ(Y方向)を変更 |
|---|
| | 123 | * @param value 新しい値 |
|---|
| | 124 | */ |
|---|
| | 125 | public function set frameHeightByDec(value:Number):void |
|---|
| | 126 | { |
|---|
| | 127 | this._extPatXwBase = WK_WORLD_BASE + value; |
|---|
| | 128 | this._extPatYwStep = (WK_WORLD_ADD - value * 2); |
|---|
| | 129 | } |
|---|
| | 130 | |
|---|
| | 131 | |
|---|
| | 132 | public function get width():int { return _width; } |
|---|
| | 133 | |
|---|
| | 134 | public function set width(value:int):void |
|---|
| | 135 | { |
|---|
| | 136 | this._width = value; |
|---|
| | 137 | this._pickFromRasterDivideX = AR_PATT_SAMPLE_NUM / value; |
|---|
| | 138 | this.extpat = ArrayUtil.createJaggedArray(this._height, this._width, 3); |
|---|
| | 139 | } |
|---|
| | 140 | |
|---|
| | 141 | public function get height():int { return _height; } |
|---|
| | 142 | |
|---|
| | 143 | public function set height(value:int):void |
|---|
| | 144 | { |
|---|
| | 145 | this._height = value; |
|---|
| | 146 | this._pickFromRasterDivideY = AR_PATT_SAMPLE_NUM / value; |
|---|
| | 147 | this.extpat = ArrayUtil.createJaggedArray(this._height, this._width, 3); |
|---|
| | 148 | } |
|---|
| | 149 | |
|---|