Table of Contents

Class Line2D

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

Line2D()

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

[Obsolete("Line2D 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 Line2D()

Line2D(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("Line2D 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 Line2D(params object[] args)

Parameters

args object[]

Properties

Bounds

public Rectangle Bounds { get; }

Property Value

Rectangle

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

P1

public Point2D P1 { get; }

Property Value

Point2D

P2

public Point2D P2 { get; }

Property Value

Point2D

X1

public double X1 { get; }

Property Value

double

X2

public double X2 { get; }

Property Value

double

Y1

public double Y1 { get; }

Property Value

double

Y2

public double Y2 { get; }

Property Value

double

Methods

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

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

IntersectsLine(Line2D)

public bool IntersectsLine(Line2D arg0)

Parameters

arg0 Line2D

Line2D

Returns

bool

bool

IntersectsLine(double, double, double, double)

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

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

Returns

bool

bool

LinesIntersect(double, double, double, double, double, double, double, double)

public static bool LinesIntersect(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

arg4 double

double

arg5 double

double

arg6 double

double

arg7 double

double

Returns

bool

bool

PtLineDist(Point2D)

public double PtLineDist(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

double

double

PtLineDist(double, double)

public double PtLineDist(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

double

double

PtLineDist(double, double, double, double, double, double)

public static double PtLineDist(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

arg4 double

double

arg5 double

double

Returns

double

double

PtLineDistSq(Point2D)

public double PtLineDistSq(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

double

double

PtLineDistSq(double, double)

public double PtLineDistSq(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

double

double

PtLineDistSq(double, double, double, double, double, double)

public static double PtLineDistSq(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

arg4 double

double

arg5 double

double

Returns

double

double

PtSegDist(Point2D)

public double PtSegDist(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

double

double

PtSegDist(double, double)

public double PtSegDist(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

double

double

PtSegDist(double, double, double, double, double, double)

public static double PtSegDist(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

arg4 double

double

arg5 double

double

Returns

double

double

PtSegDistSq(Point2D)

public double PtSegDistSq(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

double

double

PtSegDistSq(double, double)

public double PtSegDistSq(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

double

double

PtSegDistSq(double, double, double, double, double, double)

public static double PtSegDistSq(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

arg4 double

double

arg5 double

double

Returns

double

double

RelativeCCW(Point2D)

public int RelativeCCW(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

int

int

RelativeCCW(double, double)

public int RelativeCCW(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

int

int

RelativeCCW(double, double, double, double, double, double)

public static int RelativeCCW(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

arg4 double

double

arg5 double

double

Returns

int

int

SetLine(Line2D)

public void SetLine(Line2D arg0)

Parameters

arg0 Line2D

Line2D

SetLine(Point2D, Point2D)

public void SetLine(Point2D arg0, Point2D arg1)

Parameters

arg0 Point2D

Point2D

arg1 Point2D

Point2D

SetLine(double, double, double, double)

public void SetLine(double arg0, double arg1, double arg2, double arg3)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

Operators

implicit operator Shape(Line2D)

Converter from Line2D to Shape

public static implicit operator Shape(Line2D t)

Parameters

t Line2D

Returns

Shape

implicit operator Cloneable(Line2D)

Converter from Line2D to Cloneable

public static implicit operator Cloneable(Line2D t)

Parameters

t Line2D

Returns

Cloneable