| Package | jp.nyatla.nyartoolkit.as3.core.raster |
| Class | public final class NyARGrayscaleRaster |
| Inheritance | NyARGrayscaleRaster NyARRaster_BasicClass Object |
| Property | Defined By | ||
|---|---|---|---|
| _buf : Object | NyARGrayscaleRaster | ||
| _is_attached_buffer : Boolean
バッファオブジェクトがアタッチされていればtrue
| NyARGrayscaleRaster | ||
![]() | _size : NyARIntSize | NyARRaster_BasicClass | |
| Method | Defined By | ||
|---|---|---|---|
NyARGrayscaleRaster(... args) | NyARGrayscaleRaster | ||
getBuffer():Object [override] | NyARGrayscaleRaster | ||
![]() | getBufferType():int | NyARRaster_BasicClass | |
![]() | getHeight():int | NyARRaster_BasicClass | |
![]() | NyARRaster_BasicClass | ||
![]() | getWidth():int | NyARRaster_BasicClass | |
hasBuffer():Boolean [override]
インスタンスがバッファを所有するかを返します。
コンストラクタでi_is_allocをfalseにしてラスタを作成した場合、
バッファにアクセスするまえに、バッファの有無をこの関数でチェックしてください。
| NyARGrayscaleRaster | ||
![]() | isEqualBufferType(i_type_value:int):Boolean | NyARRaster_BasicClass | |
wrapBuffer(i_ref_buf:Object):void [override] | NyARGrayscaleRaster | ||
| Method | Defined By | ||
|---|---|---|---|
initInstance(i_size:NyARIntSize, i_buf_type:int, i_is_alloc:Boolean):Boolean | NyARGrayscaleRaster | ||
overload_NyARGrayscaleRaster2(i_width:int, i_height:int):void | NyARGrayscaleRaster | ||
overload_NyARGrayscaleRaster3(i_width:int, i_height:int, i_is_alloc:Boolean):void | NyARGrayscaleRaster | ||
overload_NyARGrayscaleRaster4(i_width:int, i_height:int, i_raster_type:int, i_is_alloc:Boolean):void | NyARGrayscaleRaster | ||
![]() | overload_NyARRaster_BasicClass(i_width:int, i_height:int, i_buffer_type:int):void | NyARRaster_BasicClass | |
| _buf | property |
protected var _buf:Object| _is_attached_buffer | property |
protected var _is_attached_buffer:Booleanバッファオブジェクトがアタッチされていればtrue
| NyARGrayscaleRaster | () | Constructor |
public function NyARGrayscaleRaster(... args)... args |
| getBuffer | () | method |
override public function getBuffer():ObjectReturnsObject |
| hasBuffer | () | method |
override public function hasBuffer():Booleanインスタンスがバッファを所有するかを返します。 コンストラクタでi_is_allocをfalseにしてラスタを作成した場合、 バッファにアクセスするまえに、バッファの有無をこの関数でチェックしてください。
ReturnsBoolean —
|
| initInstance | () | method |
protected function initInstance(i_size:NyARIntSize, i_buf_type:int, i_is_alloc:Boolean):BooleanParameters
i_size:NyARIntSize | |
i_buf_type:int | |
i_is_alloc:Boolean |
Boolean |
| overload_NyARGrayscaleRaster2 | () | method |
protected function overload_NyARGrayscaleRaster2(i_width:int, i_height:int):voidParameters
i_width:int | |
i_height:int |
| overload_NyARGrayscaleRaster3 | () | method |
protected function overload_NyARGrayscaleRaster3(i_width:int, i_height:int, i_is_alloc:Boolean):voidParameters
i_width:int | |
i_height:int | |
i_is_alloc:Boolean |
| overload_NyARGrayscaleRaster4 | () | method |
protected function overload_NyARGrayscaleRaster4(i_width:int, i_height:int, i_raster_type:int, i_is_alloc:Boolean):void
Parameters
i_width:int | |
i_height:int | |
i_raster_type:int — NyARBufferTypeに定義された定数値を指定してください。
| |
i_is_alloc:Boolean |
NyARException
|
| wrapBuffer | () | method |
override public function wrapBuffer(i_ref_buf:Object):voidParameters
i_ref_buf:Object |