PathElement
public enum PathElement
extension PathElement: Equatable
extension PathElement: CustomStringConvertible
Element within a Path.
-
Move to point.
Declaration
Swift
case move(Point) -
Add line to point.
Declaration
Swift
case line(Point) -
Add quadratic bézier curve to point, with control point.
Declaration
Swift
case quadCurve(Point, Point) -
Add cubic bézier curve to point, with two control points.
Declaration
Swift
case curve(Point, Point, Point) -
Close subpath.
Declaration
Swift
case close
-
Declaration
Swift
public var isVertex: Bool { get }Return Value
trueif thisPathElementrepresents a vertex (not a curve or close). Otherwsie,false. -
Declaration
Swift
public var point: Point? { get }Return Value
The destination point of
PathElement.
-
Printable description of
PathElement.Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
PathElement Enumeration Reference