Table of Contents

Class Polygon

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

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

arg0 int[]

int

arg1 int[]

int

arg2 int

int

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

Rectangle

Bounds2D

public Rectangle2D Bounds2D { get; }

Property Value

Rectangle2D

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

npoints

public int npoints { get; set; }

Property Value

int

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

arg0 int

int

arg1 int

int

Contains(Point2D)

public bool Contains(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

bool

bool

Contains(Rectangle2D)

public bool Contains(Rectangle2D arg0)

Parameters

arg0 Rectangle2D

Rectangle2D

Returns

bool

bool

Contains(Point)

public bool Contains(Point arg0)

Parameters

arg0 Point

Point

Returns

bool

bool

Contains(double, double)

public bool Contains(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

bool

bool

Contains(double, double, double, double)

public bool Contains(double arg0, double arg1, double arg2, double arg3)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

Returns

bool

bool

Contains(int, int)

public bool Contains(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

GetPathIterator(AffineTransform)

public PathIterator GetPathIterator(AffineTransform arg0)

Parameters

arg0 AffineTransform

AffineTransform

Returns

PathIterator

PathIterator

GetPathIterator(AffineTransform, double)

public PathIterator GetPathIterator(AffineTransform arg0, double arg1)

Parameters

arg0 AffineTransform

AffineTransform

arg1 double

double

Returns

PathIterator

PathIterator

Intersects(Rectangle2D)

public bool Intersects(Rectangle2D arg0)

Parameters

arg0 Rectangle2D

Rectangle2D

Returns

bool

bool

Intersects(double, double, double, double)

public bool Intersects(double arg0, double arg1, double arg2, double arg3)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

Returns

bool

bool

Invalidate()

public void Invalidate()

Reset()

public void Reset()

Translate(int, int)

public void Translate(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Operators

implicit operator Shape(Polygon)

Converter from Polygon to Shape

public static implicit operator Shape(Polygon t)

Parameters

t Polygon

Returns

Shape

implicit operator Serializable(Polygon)

Converter from Polygon to Serializable

public static implicit operator Serializable(Polygon t)

Parameters

t Polygon

Returns

Serializable