Packagejp.nyatla.nyartoolkit.as3.core.raster
Classpublic final class NyARGrayscaleRaster
InheritanceNyARGrayscaleRaster Inheritance NyARRaster_BasicClass Inheritance Object



Protected Properties
 PropertyDefined By
  _buf : Object
NyARGrayscaleRaster
  _is_attached_buffer : Boolean
バッファオブジェクトがアタッチされていればtrue
NyARGrayscaleRaster
 Inherited_size : NyARIntSize
NyARRaster_BasicClass
Public Methods
 MethodDefined By
  
NyARGrayscaleRaster
  
getBuffer():Object
[override]
NyARGrayscaleRaster
 Inherited
NyARRaster_BasicClass
 Inherited
getHeight():int
NyARRaster_BasicClass
 Inherited
NyARRaster_BasicClass
 Inherited
getWidth():int
NyARRaster_BasicClass
  
hasBuffer():Boolean
[override] インスタンスがバッファを所有するかを返します。 コンストラクタでi_is_allocをfalseにしてラスタを作成した場合、 バッファにアクセスするまえに、バッファの有無をこの関数でチェックしてください。
NyARGrayscaleRaster
 Inherited
isEqualBufferType(i_type_value:int):Boolean
NyARRaster_BasicClass
  
wrapBuffer(i_ref_buf:Object):void
[override]
NyARGrayscaleRaster
Protected Methods
 MethodDefined 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
 Inherited
overload_NyARRaster_BasicClass(i_width:int, i_height:int, i_buffer_type:int):void
NyARRaster_BasicClass
Property Detail
_bufproperty
protected var _buf:Object

_is_attached_bufferproperty 
protected var _is_attached_buffer:Boolean

バッファオブジェクトがアタッチされていればtrue

Constructor Detail
NyARGrayscaleRaster()Constructor
public function NyARGrayscaleRaster(... args)



Parameters
... args
Method Detail
getBuffer()method
override public function getBuffer():Object

Returns
Object
hasBuffer()method 
override public function hasBuffer():Boolean

インスタンスがバッファを所有するかを返します。 コンストラクタでi_is_allocをfalseにしてラスタを作成した場合、 バッファにアクセスするまえに、バッファの有無をこの関数でチェックしてください。

Returns
Boolean
initInstance()method 
protected function initInstance(i_size:NyARIntSize, i_buf_type:int, i_is_alloc:Boolean):Boolean

Parameters

i_size:NyARIntSize
 
i_buf_type:int
 
i_is_alloc:Boolean

Returns
Boolean
overload_NyARGrayscaleRaster2()method 
protected function overload_NyARGrayscaleRaster2(i_width:int, i_height:int):void

Parameters

i_width:int
 
i_height:int

overload_NyARGrayscaleRaster3()method 
protected function overload_NyARGrayscaleRaster3(i_width:int, i_height:int, i_is_alloc:Boolean):void

Parameters

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


Throws
NyARException
wrapBuffer()method 
override public function wrapBuffer(i_ref_buf:Object):void

Parameters

i_ref_buf:Object