Table of Contents

Class PixelGrabber

Namespace
Java.Awt.ImageNs
Assembly
MASES.JNet.dll
public class PixelGrabber : ImageConsumer, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IImageConsumer
Inheritance
JVMBridgeBase
JVMBridgeBase<ImageConsumer>
PixelGrabber
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ImageConsumer>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ImageConsumer>.IsAssignableFrom<T>()
JVMBridgeBase<ImageConsumer>.Execute<T>(params T[])
JVMBridgeBase<ImageConsumer>.DynBridgeClazz
JVMBridgeBase<ImageConsumer>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

PixelGrabber()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public PixelGrabber()

PixelGrabber(Image, int, int, int, int, bool)

public PixelGrabber(Image arg0, int arg1, int arg2, int arg3, int arg4, bool arg5)

Parameters

arg0 Image

Image

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 bool

bool

PixelGrabber(Image, int, int, int, int, int[], int, int)

public PixelGrabber(Image arg0, int arg1, int arg2, int arg3, int arg4, int[] arg5, int arg6, int arg7)

Parameters

arg0 Image

Image

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int[]

int

arg6 int

int

arg7 int

int

PixelGrabber(ImageProducer, int, int, int, int, int[], int, int)

public PixelGrabber(ImageProducer arg0, int arg1, int arg2, int arg3, int arg4, int[] arg5, int arg6, int arg7)

Parameters

arg0 ImageProducer

ImageProducer

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int[]

int

arg6 int

int

arg7 int

int

PixelGrabber(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public PixelGrabber(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ColorModel

public ColorModel ColorModel { get; set; }

Property Value

ColorModel

Height

public int Height { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Pixels

public object Pixels { get; }

Property Value

object

Width

public int Width { get; }

Property Value

int

Methods

AbortGrabbing()

public void AbortGrabbing()

GetStatus()

public int GetStatus()

Returns

int

int

GrabPixels()

public bool GrabPixels()

Returns

bool

bool

Exceptions

InterruptedException

GrabPixels(long)

public bool GrabPixels(long arg0)

Parameters

arg0 long

long

Returns

bool

bool

Exceptions

InterruptedException

ImageComplete(int)

public void ImageComplete(int arg0)

Parameters

arg0 int

int

SetDimensions(int, int)

public void SetDimensions(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetHints(int)

public void SetHints(int arg0)

Parameters

arg0 int

int

SetPixels(int, int, int, int, ColorModel, byte[], int, int)

public void SetPixels(int arg0, int arg1, int arg2, int arg3, ColorModel arg4, byte[] arg5, int arg6, int arg7)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 ColorModel

ColorModel

arg5 byte[]

byte

arg6 int

int

arg7 int

int

SetPixels(int, int, int, int, ColorModel, int[], int, int)

public void SetPixels(int arg0, int arg1, int arg2, int arg3, ColorModel arg4, int[] arg5, int arg6, int arg7)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 ColorModel

ColorModel

arg5 int[]

int

arg6 int

int

arg7 int

int

SetProperties(Hashtable<object, object>)

public void SetProperties(Hashtable<object, object> arg0)

Parameters

arg0 Hashtable<object, object>

Hashtable

StartGrabbing()

public void StartGrabbing()

Status()

public int Status()

Returns

int

int