Skip to main content

ShadingBezierCurve Class

A cubic Bézier curve segment in a shading fill.

Declaration

public class ShadingBezierCurve extends JavaObject implements ICloneable

Implements

com.devexpress.system.ICloneable

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
ShadingBezierCurve

ShadingBezierCurve(ShadingVertex vertex1, PointF controlPoint1, PointF controlPoint2, ShadingVertex vertex2)

Initializes a new instance of the ShadingBezierCurve class with specified settings.

Declaration

public ShadingBezierCurve(ShadingVertex vertex1, PointF controlPoint1, PointF controlPoint2, ShadingVertex vertex2)

Parameters

Name Type Description
vertex1 ShadingVertex

The first vertex of the curve.

controlPoint1 com.devexpress.system.drawing.PointF

The first control point.

controlPoint2 com.devexpress.system.drawing.PointF

The second control point.

vertex2 ShadingVertex

The second vertex of the curve.

Methods

deepClone() Method

Creates a deep copy of the current object.

Declaration

public ShadingBezierCurve deepClone()

Returns

Type Description
ShadingBezierCurve

A deep copy of the current object.

getControlPoint1() Method

Returns the first control point of the Bézier curve.

Declaration

public PointF getControlPoint1()

Returns

Type Description
com.devexpress.system.drawing.PointF

The first control point.

getControlPoint2() Method

Returns the second control point of the Bézier curve.

Declaration

public PointF getControlPoint2()

Returns

Type Description
com.devexpress.system.drawing.PointF

The second control point.

getVertex1() Method

Returns the first vertex of the Bézier curve.

Declaration

public ShadingVertex getVertex1()

Returns

Type Description
ShadingVertex

The first vertex.

getVertex2() Method

Returns the second vertex of the Bézier curve.

Declaration

public ShadingVertex getVertex2()

Returns

Type Description
ShadingVertex

The second vertex.

objectClone() Method

Creates a copy of the current object.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the current object.