BezierPath
public class BezierPath : Shape
extension BezierPath: CGDrawable
extension BezierPath: SVGDrawable
extension BezierPath: Hashable
A parametric curve
-
A point used to draw a Bézier curve
See moreDeclaration
Swift
public struct Point : Hashable -
The starting position of the path
Declaration
Swift
public var start: Vector -
The points making up the curve
Declaration
Swift
public var points: [Point] -
A Rectangle that contains the receiver
Declaration
Swift
public var boundingBox: Rectangle { get } -
Draw the receiver in the specified context
Declaration
Swift
public func draw(in context: CGContext)Parameters
contextContext in which to draw
-
Draw a representation of the receiver meant for debugging the shape in the specified context
Declaration
Swift
public func debugDraw(in context: CGContext)Parameters
contextContext in which to draw
-
Create an
XMLElementfor the Path in its drawing styleDeclaration
Swift
public func svgElement() -> XMLElement -
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.
Declaration
Swift
public static func == (lhs: BezierPath, rhs: BezierPath) -> Bool -
The hash value of the curve
Declaration
Swift
public func hash(into hasher: inout Hasher)Parameters
hasherThe hasher
View on GitHub
BezierPath Class Reference