Class Color
public class Color : JVMBridgeBase<Color>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Color>Color
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Color>.IsAssignableFrom(IJavaType)JVMBridgeBase<Color>.IsAssignableFrom<T>()JVMBridgeBase<Color>.Execute<T>(params T[])JVMBridgeBase<Color>.DynBridgeClazzJVMBridgeBase<Color>.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
Color()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Color()
Color(ColorSpace, float[], float)
public Color(ColorSpace arg0, float[] arg1, float arg2)
Parameters
arg0
ColorSpacearg1
float[]arg2
float
Color(int)
public Color(int arg0)
Parameters
Color(int, bool)
public Color(int arg0, bool arg1)
Parameters
Color(int, int, int)
public Color(int arg0, int arg1, int arg2)
Parameters
Color(int, int, int, int)
public Color(int arg0, int arg1, int arg2, int arg3)
Parameters
Color(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 Color(params object[] args)
Parameters
args
object[]
Color(float, float, float)
public Color(float arg0, float arg1, float arg2)
Parameters
Color(float, float, float, float)
public Color(float arg0, float arg1, float arg2, float arg3)
Parameters
Properties
Alpha
public int Alpha { get; }
Property Value
BLACK
public static Color BLACK { get; }
Property Value
BLUE
public static Color BLUE { get; }
Property Value
Blue
public int Blue { 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
CYAN
public static Color CYAN { get; }
Property Value
ColorSpace
public ColorSpace ColorSpace { get; }
Property Value
DARK_GRAY
public static Color DARK_GRAY { get; }
Property Value
GRAY
public static Color GRAY { get; }
Property Value
GREEN
public static Color GREEN { get; }
Property Value
Green
public int Green { 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
LIGHT_GRAY
public static Color LIGHT_GRAY { get; }
Property Value
MAGENTA
public static Color MAGENTA { get; }
Property Value
ORANGE
public static Color ORANGE { get; }
Property Value
PINK
public static Color PINK { get; }
Property Value
RED
public static Color RED { get; }
Property Value
RGB
public int RGB { get; }
Property Value
Red
public int Red { get; }
Property Value
Transparency
public int Transparency { get; }
Property Value
WHITE
public static Color WHITE { get; }
Property Value
YELLOW
public static Color YELLOW { get; }
Property Value
black
public static Color black { get; }
Property Value
blue
public static Color blue { get; }
Property Value
cyan
public static Color cyan { get; }
Property Value
darkGray
public static Color darkGray { get; }
Property Value
gray
public static Color gray { get; }
Property Value
green
public static Color green { get; }
Property Value
lightGray
public static Color lightGray { get; }
Property Value
magenta
public static Color magenta { get; }
Property Value
orange
public static Color orange { get; }
Property Value
pink
public static Color pink { get; }
Property Value
red
public static Color red { get; }
Property Value
white
public static Color white { get; }
Property Value
yellow
public static Color yellow { get; }
Property Value
Methods
Brighter()
public Color Brighter()
Returns
CreateContext(ColorModel, Rectangle, Rectangle2D, AffineTransform, RenderingHints)
public PaintContext CreateContext(ColorModel arg0, Rectangle arg1, Rectangle2D arg2, AffineTransform arg3, RenderingHints arg4)
Parameters
arg0
ColorModelarg1
Rectanglearg2
Rectangle2Darg3
AffineTransformarg4
RenderingHints
Returns
Darker()
public Color Darker()
Returns
Decode(String)
public static Color Decode(String arg0)
Parameters
Returns
Exceptions
GetColor(String)
public static Color GetColor(String arg0)
Parameters
Returns
GetColor(String, Color)
public static Color GetColor(String arg0, Color arg1)
Parameters
Returns
GetColor(String, int)
public static Color GetColor(String arg0, int arg1)
Parameters
Returns
GetColorComponents(ColorSpace, float[])
public float[] GetColorComponents(ColorSpace arg0, float[] arg1)
Parameters
arg0
ColorSpacearg1
float[]
Returns
GetColorComponents(float[])
public float[] GetColorComponents(float[] arg0)
Parameters
Returns
GetComponents(ColorSpace, float[])
public float[] GetComponents(ColorSpace arg0, float[] arg1)
Parameters
arg0
ColorSpacearg1
float[]
Returns
GetComponents(float[])
public float[] GetComponents(float[] arg0)
Parameters
Returns
GetHSBColor(float, float, float)
public static Color GetHSBColor(float arg0, float arg1, float arg2)
Parameters
Returns
GetRGBColorComponents(float[])
public float[] GetRGBColorComponents(float[] arg0)
Parameters
Returns
GetRGBComponents(float[])
public float[] GetRGBComponents(float[] arg0)
Parameters
Returns
HSBtoRGB(float, float, float)
public static int HSBtoRGB(float arg0, float arg1, float arg2)
Parameters
Returns
RGBtoHSB(int, int, int, float[])
public static float[] RGBtoHSB(int arg0, int arg1, int arg2, float[] arg3)
Parameters
Returns
Operators
implicit operator Paint(Color)
public static implicit operator Paint(Color t)
Parameters
t
Color
Returns
implicit operator Serializable(Color)
Converter from Color to Serializable
public static implicit operator Serializable(Color t)
Parameters
t
Color