Table of Contents

Class BufferedImage

Namespace
Java.Awt.ImageNs
Assembly
MASES.JNet.dll
public class BufferedImage : Image, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Image>
BufferedImage
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Image>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Image>.IsAssignableFrom<T>()
JVMBridgeBase<Image>.Execute<T>(params T[])
JVMBridgeBase<Image>.DynBridgeClazz
JVMBridgeBase<Image>.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

BufferedImage()

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

public BufferedImage()

BufferedImage(ColorModel, WritableRaster, bool, Hashtable<object, object>)

public BufferedImage(ColorModel arg0, WritableRaster arg1, bool arg2, Hashtable<object, object> arg3)

Parameters

arg0 ColorModel

ColorModel

arg1 WritableRaster

WritableRaster

arg2 bool

bool

arg3 Hashtable<object, object>

Hashtable

BufferedImage(int, int, int)

public BufferedImage(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

BufferedImage(int, int, int, IndexColorModel)

public BufferedImage(int arg0, int arg1, int arg2, IndexColorModel arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 IndexColorModel

IndexColorModel

BufferedImage(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 BufferedImage(params object[] args)

Parameters

args object[]

Properties

AlphaRaster

public WritableRaster AlphaRaster { get; }

Property Value

WritableRaster

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ColorModel

public ColorModel ColorModel { get; }

Property Value

ColorModel

Data

public Raster Data { get; set; }

Property Value

Raster

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

MinTileX

public int MinTileX { get; }

Property Value

int

MinTileY

public int MinTileY { get; }

Property Value

int

MinX

public int MinX { get; }

Property Value

int

MinY

public int MinY { get; }

Property Value

int

NumXTiles

public int NumXTiles { get; }

Property Value

int

NumYTiles

public int NumYTiles { get; }

Property Value

int

PropertyNames

public String[] PropertyNames { get; }

Property Value

String[]

Raster

public WritableRaster Raster { get; }

Property Value

WritableRaster

SampleModel

public SampleModel SampleModel { get; }

Property Value

SampleModel

Sources

public Vector<RenderedImage> Sources { get; }

Property Value

Vector<RenderedImage>

TYPE_3BYTE_BGR

public static int TYPE_3BYTE_BGR { get; }

Property Value

int

TYPE_4BYTE_ABGR

public static int TYPE_4BYTE_ABGR { get; }

Property Value

int

TYPE_4BYTE_ABGR_PRE

public static int TYPE_4BYTE_ABGR_PRE { get; }

Property Value

int

TYPE_BYTE_BINARY

public static int TYPE_BYTE_BINARY { get; }

Property Value

int

TYPE_BYTE_GRAY

public static int TYPE_BYTE_GRAY { get; }

Property Value

int

TYPE_BYTE_INDEXED

public static int TYPE_BYTE_INDEXED { get; }

Property Value

int

TYPE_CUSTOM

public static int TYPE_CUSTOM { get; }

Property Value

int

TYPE_INT_ARGB

public static int TYPE_INT_ARGB { get; }

Property Value

int

TYPE_INT_ARGB_PRE

public static int TYPE_INT_ARGB_PRE { get; }

Property Value

int

TYPE_INT_BGR

public static int TYPE_INT_BGR { get; }

Property Value

int

TYPE_INT_RGB

public static int TYPE_INT_RGB { get; }

Property Value

int

TYPE_USHORT_555_RGB

public static int TYPE_USHORT_555_RGB { get; }

Property Value

int

TYPE_USHORT_565_RGB

public static int TYPE_USHORT_565_RGB { get; }

Property Value

int

TYPE_USHORT_GRAY

public static int TYPE_USHORT_GRAY { get; }

Property Value

int

TileGridXOffset

public int TileGridXOffset { get; }

Property Value

int

TileGridYOffset

public int TileGridYOffset { get; }

Property Value

int

TileHeight

public int TileHeight { get; }

Property Value

int

TileWidth

public int TileWidth { get; }

Property Value

int

Transparency

public int Transparency { get; }

Property Value

int

Type

public int Type { get; }

Property Value

int

Width

public int Width { get; }

Property Value

int

WritableTileIndices

public Point[] WritableTileIndices { get; }

Property Value

Point[]

Methods

AddTileObserver(TileObserver)

public void AddTileObserver(TileObserver arg0)

Parameters

arg0 TileObserver

TileObserver

CoerceData(bool)

public void CoerceData(bool arg0)

Parameters

arg0 bool

bool

CopyData(WritableRaster)

public WritableRaster CopyData(WritableRaster arg0)

Parameters

arg0 WritableRaster

WritableRaster

Returns

WritableRaster

WritableRaster

CreateGraphics()

public Graphics2D CreateGraphics()

Returns

Graphics2D

Graphics2D

GetData(Rectangle)

public Raster GetData(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Returns

Raster

Raster

GetProperty(String)

public object GetProperty(String arg0)

Parameters

arg0 String

String

Returns

object

object

GetRGB(int, int)

public int GetRGB(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

GetRGB(int, int, int, int, int[], int, int)

public int[] GetRGB(int arg0, int arg1, int arg2, int arg3, int[] arg4, int arg5, int arg6)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int[]

int

arg5 int

int

arg6 int

int

Returns

int[]

int

GetSubimage(int, int, int, int)

public BufferedImage GetSubimage(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

Returns

BufferedImage

BufferedImage

GetTile(int, int)

public Raster GetTile(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

Raster

Raster

GetWritableTile(int, int)

public WritableRaster GetWritableTile(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

WritableRaster

WritableRaster

HasTileWriters()

public bool HasTileWriters()

Returns

bool

bool

IsAlphaPremultiplied()

public bool IsAlphaPremultiplied()

Returns

bool

bool

IsTileWritable(int, int)

public bool IsTileWritable(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

ReleaseWritableTile(int, int)

public void ReleaseWritableTile(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

RemoveTileObserver(TileObserver)

public void RemoveTileObserver(TileObserver arg0)

Parameters

arg0 TileObserver

TileObserver

SetRGB(int, int, int)

public void SetRGB(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

SetRGB(int, int, int, int, int[], int, int)

public void SetRGB(int arg0, int arg1, int arg2, int arg3, int[] arg4, int arg5, int arg6)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int[]

int

arg5 int

int

arg6 int

int

Operators

implicit operator WritableRenderedImage(BufferedImage)

public static implicit operator WritableRenderedImage(BufferedImage t)

Parameters

t BufferedImage

Returns

WritableRenderedImage

implicit operator Transparency(BufferedImage)

Converter from BufferedImage to Transparency

public static implicit operator Transparency(BufferedImage t)

Parameters

t BufferedImage

Returns

Transparency