Table of Contents

Class ColorModel

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

ColorModel()

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

[Obsolete("ColorModel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ColorModel()

ColorModel(int)

public ColorModel(int arg0)

Parameters

arg0 int

int

ColorModel(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

[Obsolete("ColorModel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ColorModel(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ColorSpace

public ColorSpace ColorSpace { get; }

Property Value

ColorSpace

ComponentSize

public int[] ComponentSize { 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

NumColorComponents

public int NumColorComponents { get; }

Property Value

int

NumComponents

public int NumComponents { get; }

Property Value

int

PixelSize

public int PixelSize { get; }

Property Value

int

RGBdefault

public static ColorModel RGBdefault { get; }

Property Value

ColorModel

TransferType

public int TransferType { get; }

Property Value

int

Transparency

public int Transparency { get; }

Property Value

int

Methods

CoerceData(WritableRaster, bool)

public ColorModel CoerceData(WritableRaster arg0, bool arg1)

Parameters

arg0 WritableRaster

WritableRaster

arg1 bool

bool

Returns

ColorModel

ColorModel

CreateCompatibleSampleModel(int, int)

public SampleModel CreateCompatibleSampleModel(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

SampleModel

SampleModel

CreateCompatibleWritableRaster(int, int)

public WritableRaster CreateCompatibleWritableRaster(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

WritableRaster

WritableRaster

GetAlpha(int)

public int GetAlpha(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetAlpha(object)

public int GetAlpha(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetAlphaRaster(WritableRaster)

public WritableRaster GetAlphaRaster(WritableRaster arg0)

Parameters

arg0 WritableRaster

WritableRaster

Returns

WritableRaster

WritableRaster

GetBlue(int)

public int GetBlue(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetBlue(object)

public int GetBlue(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetComponentSize(int)

public int GetComponentSize(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetComponents(int, int[], int)

public int[] GetComponents(int arg0, int[] arg1, int arg2)

Parameters

arg0 int

int

arg1 int[]

int

arg2 int

int

Returns

int[]

int

GetComponents(object, int[], int)

public int[] GetComponents(object arg0, int[] arg1, int arg2)

Parameters

arg0 object

object

arg1 int[]

int

arg2 int

int

Returns

int[]

int

GetDataElement(int[], int)

public int GetDataElement(int[] arg0, int arg1)

Parameters

arg0 int[]

int

arg1 int

int

Returns

int

int

GetDataElement(float[], int)

public int GetDataElement(float[] arg0, int arg1)

Parameters

arg0 float[]

float

arg1 int

int

Returns

int

int

GetDataElements(int, object)

public object GetDataElements(int arg0, object arg1)

Parameters

arg0 int

int

arg1 object

object

Returns

object

object

GetDataElements(int[], int, object)

public object GetDataElements(int[] arg0, int arg1, object arg2)

Parameters

arg0 int[]

int

arg1 int

int

arg2 object

object

Returns

object

object

GetDataElements(float[], int, object)

public object GetDataElements(float[] arg0, int arg1, object arg2)

Parameters

arg0 float[]

float

arg1 int

int

arg2 object

object

Returns

object

object

GetGreen(int)

public int GetGreen(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetGreen(object)

public int GetGreen(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetNormalizedComponents(int[], int, float[], int)

public float[] GetNormalizedComponents(int[] arg0, int arg1, float[] arg2, int arg3)

Parameters

arg0 int[]

int

arg1 int

int

arg2 float[]

float

arg3 int

int

Returns

float[]

float

GetNormalizedComponents(object, float[], int)

public float[] GetNormalizedComponents(object arg0, float[] arg1, int arg2)

Parameters

arg0 object

object

arg1 float[]

float

arg2 int

int

Returns

float[]

float

GetRGB(int)

public int GetRGB(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetRGB(object)

public int GetRGB(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetRed(int)

public int GetRed(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetRed(object)

public int GetRed(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetUnnormalizedComponents(float[], int, int[], int)

public int[] GetUnnormalizedComponents(float[] arg0, int arg1, int[] arg2, int arg3)

Parameters

arg0 float[]

float

arg1 int

int

arg2 int[]

int

arg3 int

int

Returns

int[]

int

HasAlpha()

public bool HasAlpha()

Returns

bool

bool

IsAlphaPremultiplied()

public bool IsAlphaPremultiplied()

Returns

bool

bool

IsCompatibleRaster(Raster)

public bool IsCompatibleRaster(Raster arg0)

Parameters

arg0 Raster

Raster

Returns

bool

bool

IsCompatibleSampleModel(SampleModel)

public bool IsCompatibleSampleModel(SampleModel arg0)

Parameters

arg0 SampleModel

SampleModel

Returns

bool

bool