Skip to main content

Quadrilateral Class

Defines a quadrilateral by four points.

Declaration

public class Quadrilateral extends JavaObject

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
Quadrilateral

Quadrilateral(PointF p1, PointF p2, PointF p3, PointF p4)

Initializes a new quadrilateral with the specified points.

Declaration

public Quadrilateral(PointF p1, PointF p2, PointF p3, PointF p4)

Parameters

Name Type Description
p1 com.devexpress.system.drawing.PointF

The first quadrilateral point.

p2 com.devexpress.system.drawing.PointF

The second quadrilateral point.

p3 com.devexpress.system.drawing.PointF

The third quadrilateral point.

p4 com.devexpress.system.drawing.PointF

The fourth quadrilateral point.

Methods

getBoundingBox() Method

Returns the quadrilateral bounding box.

Declaration

public RectangleF getBoundingBox()

Returns

Type Description
RectangleF

The quadrilateral bounding box.

getP1() Method

Returns the first quadrilateral point.

Declaration

public PointF getP1()

Returns

Type Description
com.devexpress.system.drawing.PointF

The first quadrilateral point.

getP2() Method

Returns the second quadrilateral point.

Declaration

public PointF getP2()

Returns

Type Description
com.devexpress.system.drawing.PointF

The second quadrilateral point.

getP3() Method

Returns the third quadrilateral point.

Declaration

public PointF getP3()

Returns

Type Description
com.devexpress.system.drawing.PointF

The third quadrilateral point.

getP4() Method

Returns the fourth quadrilateral point.

Declaration

public PointF getP4()

Returns

Type Description
com.devexpress.system.drawing.PointF

The fourth quadrilateral point.