Class Polygon
public class Polygon : JVMBridgeBase<Polygon>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Polygon>Polygon
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Polygon>.IsAssignableFrom(IJavaType)JVMBridgeBase<Polygon>.IsAssignableFrom<T>()JVMBridgeBase<Polygon>.Execute<T>(params T[])JVMBridgeBase<Polygon>.DynBridgeClazzJVMBridgeBase<Polygon>.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
Polygon()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Polygon()
Polygon(int[], int[], int)
public Polygon(int[] arg0, int[] arg1, int arg2)
Parameters
Polygon(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 Polygon(params object[] args)
Parameters
args
object[]
Properties
Bounds
public Rectangle Bounds { get; }
Property Value
Bounds2D
public Rectangle2D Bounds2D { 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
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
npoints
public int npoints { get; set; }
Property Value
xpoints
public int[] xpoints { get; set; }
Property Value
- int[]
ypoints
public int[] ypoints { get; set; }
Property Value
- int[]
Methods
AddPoint(int, int)
public void AddPoint(int arg0, int arg1)
Parameters
Contains(Point2D)
public bool Contains(Point2D arg0)
Parameters
Returns
Contains(Rectangle2D)
public bool Contains(Rectangle2D arg0)
Parameters
arg0
Rectangle2D
Returns
Contains(Point)
public bool Contains(Point arg0)
Parameters
Returns
Contains(double, double)
public bool Contains(double arg0, double arg1)
Parameters
Returns
Contains(double, double, double, double)
public bool Contains(double arg0, double arg1, double arg2, double arg3)
Parameters
Returns
Contains(int, int)
public bool Contains(int arg0, int arg1)
Parameters
Returns
GetPathIterator(AffineTransform)
public PathIterator GetPathIterator(AffineTransform arg0)
Parameters
Returns
GetPathIterator(AffineTransform, double)
public PathIterator GetPathIterator(AffineTransform arg0, double arg1)
Parameters
arg0
AffineTransformarg1
double
Returns
Intersects(Rectangle2D)
public bool Intersects(Rectangle2D arg0)
Parameters
arg0
Rectangle2D
Returns
Intersects(double, double, double, double)
public bool Intersects(double arg0, double arg1, double arg2, double arg3)
Parameters
Returns
Invalidate()
public void Invalidate()
Reset()
public void Reset()
Translate(int, int)
public void Translate(int arg0, int arg1)
Parameters
Operators
implicit operator Shape(Polygon)
public static implicit operator Shape(Polygon t)
Parameters
t
Polygon
Returns
implicit operator Serializable(Polygon)
Converter from Polygon to Serializable
public static implicit operator Serializable(Polygon t)
Parameters
t
Polygon