Class BufferedImage
public class BufferedImage : Image, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Image>BufferedImage
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Image>.IsAssignableFrom(IJavaType)JVMBridgeBase<Image>.IsAssignableFrom<T>()JVMBridgeBase<Image>.Execute<T>(params T[])JVMBridgeBase<Image>.DynBridgeClazzJVMBridgeBase<Image>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
ColorModelarg1
WritableRasterarg2
boolarg3
Hashtable<object, object>
BufferedImage(int, int, int)
public BufferedImage(int arg0, int arg1, int arg2)
Parameters
BufferedImage(int, int, int, IndexColorModel)
public BufferedImage(int arg0, int arg1, int arg2, IndexColorModel arg3)
Parameters
arg0
intarg1
intarg2
intarg3
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
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ColorModel
public ColorModel ColorModel { get; }
Property Value
Data
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/image/BufferedImage.html#getData() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/image/BufferedImage.html#setData(java.awt.image.Raster)
public Raster Data { get; set; }
Property Value
Height
public int Height { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MinTileX
public int MinTileX { get; }
Property Value
MinTileY
public int MinTileY { get; }
Property Value
MinX
public int MinX { get; }
Property Value
MinY
public int MinY { get; }
Property Value
NumXTiles
public int NumXTiles { get; }
Property Value
NumYTiles
public int NumYTiles { get; }
Property Value
PropertyNames
public String[] PropertyNames { get; }
Property Value
- String[]
Raster
public WritableRaster Raster { get; }
Property Value
SampleModel
public SampleModel SampleModel { get; }
Property Value
Sources
public Vector<RenderedImage> Sources { get; }
Property Value
TYPE_3BYTE_BGR
public static int TYPE_3BYTE_BGR { get; }
Property Value
TYPE_4BYTE_ABGR
public static int TYPE_4BYTE_ABGR { get; }
Property Value
TYPE_4BYTE_ABGR_PRE
public static int TYPE_4BYTE_ABGR_PRE { get; }
Property Value
TYPE_BYTE_BINARY
public static int TYPE_BYTE_BINARY { get; }
Property Value
TYPE_BYTE_GRAY
public static int TYPE_BYTE_GRAY { get; }
Property Value
TYPE_BYTE_INDEXED
public static int TYPE_BYTE_INDEXED { get; }
Property Value
TYPE_CUSTOM
public static int TYPE_CUSTOM { get; }
Property Value
TYPE_INT_ARGB
public static int TYPE_INT_ARGB { get; }
Property Value
TYPE_INT_ARGB_PRE
public static int TYPE_INT_ARGB_PRE { get; }
Property Value
TYPE_INT_BGR
public static int TYPE_INT_BGR { get; }
Property Value
TYPE_INT_RGB
public static int TYPE_INT_RGB { get; }
Property Value
TYPE_USHORT_555_RGB
public static int TYPE_USHORT_555_RGB { get; }
Property Value
TYPE_USHORT_565_RGB
public static int TYPE_USHORT_565_RGB { get; }
Property Value
TYPE_USHORT_GRAY
public static int TYPE_USHORT_GRAY { get; }
Property Value
TileGridXOffset
public int TileGridXOffset { get; }
Property Value
TileGridYOffset
public int TileGridYOffset { get; }
Property Value
TileHeight
public int TileHeight { get; }
Property Value
TileWidth
public int TileWidth { get; }
Property Value
Transparency
public int Transparency { get; }
Property Value
Type
public int Type { get; }
Property Value
Width
public int Width { get; }
Property Value
WritableTileIndices
public Point[] WritableTileIndices { get; }
Property Value
- Point[]
Methods
AddTileObserver(TileObserver)
public void AddTileObserver(TileObserver arg0)
Parameters
arg0
TileObserver
CoerceData(bool)
public void CoerceData(bool arg0)
Parameters
CopyData(WritableRaster)
public WritableRaster CopyData(WritableRaster arg0)
Parameters
Returns
CreateGraphics()
public Graphics2D CreateGraphics()
Returns
GetData(Rectangle)
public Raster GetData(Rectangle arg0)
Parameters
Returns
GetProperty(String)
public object GetProperty(String arg0)
Parameters
Returns
GetRGB(int, int)
public int GetRGB(int arg0, int arg1)
Parameters
Returns
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
Returns
GetSubimage(int, int, int, int)
public BufferedImage GetSubimage(int arg0, int arg1, int arg2, int arg3)
Parameters
Returns
GetTile(int, int)
public Raster GetTile(int arg0, int arg1)
Parameters
Returns
GetWritableTile(int, int)
public WritableRaster GetWritableTile(int arg0, int arg1)
Parameters
Returns
HasTileWriters()
public bool HasTileWriters()
Returns
IsAlphaPremultiplied()
public bool IsAlphaPremultiplied()
Returns
IsTileWritable(int, int)
public bool IsTileWritable(int arg0, int arg1)
Parameters
Returns
ReleaseWritableTile(int, int)
public void ReleaseWritableTile(int arg0, int arg1)
Parameters
RemoveTileObserver(TileObserver)
public void RemoveTileObserver(TileObserver arg0)
Parameters
arg0
TileObserver
SetRGB(int, int, int)
public void SetRGB(int arg0, int arg1, int arg2)
Parameters
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
Operators
implicit operator WritableRenderedImage(BufferedImage)
Converter from BufferedImage to WritableRenderedImage
public static implicit operator WritableRenderedImage(BufferedImage t)
Parameters
Returns
implicit operator Transparency(BufferedImage)
Converter from BufferedImage to Transparency
public static implicit operator Transparency(BufferedImage t)