Skip to main content

PathQuadraticBezier Class

A quadratic Bezier curve within a shape path.

Declaration

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

Implements

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

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
PathQuadraticBezier

Constructors

PathQuadraticBezier() Constructor

Initializes a new instance of the PathQuadraticBezier class.

Declaration

public PathQuadraticBezier()

PathQuadraticBezier(List<AdjustPoint> points) Constructor

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

Declaration

public PathQuadraticBezier(List<AdjustPoint> points)

Parameters

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

The collection of points that define the quadratic Bezier curve.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to the current PathQuadraticBezier instance.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with the current PathQuadraticBezier instance.

Returns

Type Description
boolean

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

equals(PathQuadraticBezier other) Method

Determines whether the specified PathQuadraticBezier is equal to the current PathQuadraticBezier.’

Declaration

public boolean equals(PathQuadraticBezier other)

Parameters

Name Type Description
other PathQuadraticBezier

The PathQuadraticBezier to compare.

Returns

Type Description
boolean

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

getPoints() Method

Returns a list of points that define a Bezier curve.

Declaration

public List<AdjustPoint> getPoints()

Returns

Type Description
java.util.List<AdjustPoint>

A list of points.

hashCode() Method

Returns a hash code for this PathQuadraticBezier object.

Declaration

public int hashCode()

Returns

Type Description
int

The identification number.