PathPoint
class PathPoint
An object which represents the start or end point of a cubic bezier curve.
-
The coordinates of points position.
Declaration
var position: Point { get } -
The second control point of the curve ending at this point.
Declaration
var curveFrom: Point { get } -
The first control point of curve starting at this point.
Declaration
var curveTo: Point { get } -
The corner radius used to the render the rounded corner defined by this point.
Declaration
var cornerRadius: Double { get } -
The end point of the curve starting from this point.
Declaration
var next: PathPoint? { get } -
The start point of the curve ending at this point.
Declaration
var prev: PathPoint? { get } -
The object’s description
Declaration
var description: String { get } -
Compares two values for equality.
The
equalsfunction is invoked using infix notation as in the following code snippet:lhs == rhs.Declaration
func equals(_ lhs: PathPoint) -> BoolParameters
lhsA value.
rhsAnother value.
Return Value
trueif thelhsandrhsare equal,falseotherwise.