Skip to main content

PathCubicBezier Class

Defines a cubic Bezier curve (a shape path segment).

Declaration

public final class PathCubicBezier extends Struct<PathCubicBezier> implements IPathSegment, IEquatable<PathCubicBezier>

Implements

com.devexpress.system.IEquatable<com.devexpress.docs.presentation.PathCubicBezier>

Inherited Members

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

Inheritance

Object
com.devexpress.system.Struct
PathCubicBezier

Constructors

PathCubicBezier() Constructor

Initializes a new instance of the PathCubicBezier class.

Declaration

public PathCubicBezier()

PathCubicBezier(List<AdjustPoint> points) Constructor

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

Declaration

public PathCubicBezier(List<AdjustPoint> points)

Parameters

Name Type Description
points java.util.List<AdjustPoint>

The collection of points that define the cubic Bezier curve.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to the current PathCubicBezier object.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

An object to compare with the current PathCubicBezier instance.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

equals(PathCubicBezier other) Method

Determines whether the specified object is equal to the current PathCubicBezier object.

Declaration

public boolean equals(PathCubicBezier other)

Parameters

Name Type Description
other PathCubicBezier

An object to compare with the current PathCubicBezier instance.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

getPoints() Method

Returns the list of points that determine the curve.

Declaration

public List<AdjustPoint> getPoints()

Returns

Type Description
java.util.List<AdjustPoint>

A list of curve points.

hashCode() Method

Returns a hash code for this PathCubicBezier object.

Declaration

public int hashCode()

Returns

Type Description
int

The identification number.