PathCubicBezier Class
Defines a cubic Bezier curve (a shape path segment).
Declaration
public final class PathCubicBezier extends Struct<PathCubicBezier> implements IPathSegment, IEquatable<PathCubicBezier>
Implements
Inherited Members
Inheritance
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 |
Returns
| Type | Description |
|---|---|
| boolean |
|
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 |
Returns
| Type | Description |
|---|---|
| boolean |
|
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. |