Class Graphics2D
public class Graphics2D : Graphics, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Graphics>Graphics2D
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Graphics>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<Graphics>.IsAssignableFrom(IJavaType)JVMBridgeBase<Graphics>.IsAssignableFrom<T>()JVMBridgeBase<Graphics>.Execute<T>(params T[])JVMBridgeBase<Graphics>.DynBridgeClazzJVMBridgeBase<Graphics>.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.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
Graphics2D()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Graphics2D 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 Graphics2D()
Graphics2D(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("Graphics2D 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 Graphics2D(params object[] args)
Parameters
args
object[]
Properties
Background
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#getBackground() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#setBackground(java.awt.Color)
public Color Background { get; set; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Composite
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#getComposite() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#setComposite(java.awt.Composite)
public Composite Composite { get; set; }
Property Value
DeviceConfiguration
public GraphicsConfiguration DeviceConfiguration { get; }
Property Value
FontRenderContext
public FontRenderContext FontRenderContext { 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
Paint
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#getPaint() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#setPaint(java.awt.Paint)
public Paint Paint { get; set; }
Property Value
RenderingHints
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#getRenderingHints() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#setRenderingHints(java.util.Map)
public RenderingHints RenderingHints { get; set; }
Property Value
Stroke
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#getStroke() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics2D.html#setStroke(java.awt.Stroke)
public Stroke Stroke { get; set; }
Property Value
Methods
AddRenderingHints(Map<object, object>)
public void AddRenderingHints(Map<object, object> arg0)
Parameters
Clip(Shape)
public void Clip(Shape arg0)
Parameters
Draw(Shape)
public void Draw(Shape arg0)
Parameters
DrawGlyphVector(GlyphVector, float, float)
public void DrawGlyphVector(GlyphVector arg0, float arg1, float arg2)
Parameters
arg0
GlyphVectorarg1
floatarg2
float
DrawImage(Image, AffineTransform, ImageObserver)
public bool DrawImage(Image arg0, AffineTransform arg1, ImageObserver arg2)
Parameters
arg0
Imagearg1
AffineTransformarg2
ImageObserver
Returns
DrawImage(BufferedImage, BufferedImageOp, int, int)
public void DrawImage(BufferedImage arg0, BufferedImageOp arg1, int arg2, int arg3)
Parameters
arg0
BufferedImagearg1
BufferedImageOparg2
intarg3
int
DrawRenderableImage(RenderableImage, AffineTransform)
public void DrawRenderableImage(RenderableImage arg0, AffineTransform arg1)
Parameters
DrawRenderedImage(RenderedImage, AffineTransform)
public void DrawRenderedImage(RenderedImage arg0, AffineTransform arg1)
Parameters
DrawString(String, float, float)
public void DrawString(String arg0, float arg1, float arg2)
Parameters
DrawString(AttributedCharacterIterator, float, float)
public void DrawString(AttributedCharacterIterator arg0, float arg1, float arg2)
Parameters
arg0
AttributedCharacterIteratorarg1
floatarg2
float
Fill(Shape)
public void Fill(Shape arg0)
Parameters
GetRenderingHint(Key)
public object GetRenderingHint(RenderingHints.Key arg0)
Parameters
Returns
GetTransform()
public AffineTransform GetTransform()
Returns
Hit(Rectangle, Shape, bool)
public bool Hit(Rectangle arg0, Shape arg1, bool arg2)
Parameters
Returns
Rotate(double)
public void Rotate(double arg0)
Parameters
Rotate(double, double, double)
public void Rotate(double arg0, double arg1, double arg2)
Parameters
Scale(double, double)
public void Scale(double arg0, double arg1)
Parameters
SetRenderingHint(Key, object)
public void SetRenderingHint(RenderingHints.Key arg0, object arg1)
Parameters
arg0
RenderingHints.Keyarg1
object
SetTransform(AffineTransform)
public void SetTransform(AffineTransform arg0)
Parameters
Shear(double, double)
public void Shear(double arg0, double arg1)
Parameters
Transform(AffineTransform)
public void Transform(AffineTransform arg0)
Parameters
Translate(double, double)
public void Translate(double arg0, double arg1)