PathQuadraticBezier Class
A quadratic Bezier curve within a shape path.
Declaration
public final class PathQuadraticBezier extends Struct<PathQuadraticBezier> implements IPathSegment, IEquatable<PathQuadraticBezier>
Implements
Inherited Members
Inheritance
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 |
Returns
| Type | Description |
|---|---|
| boolean |
|
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 |
Returns
| Type | Description |
|---|---|
| boolean |
|
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. |