SVGShapeElement

public protocol SVGShapeElement : Fillable, Identifiable, SVGElement, Strokable, Stylable, Transformable

A protocol that describes an instance that stores the path as a CAShapeLayer

  • The CAShapeLayer that can draw the path data.

    Declaration

    Swift

    var svgLayer: CAShapeLayer { get set }
  • boundingBox Extension method

    The minimum rect that encompasses all of the subpaths

    Declaration

    Swift

    var boundingBox: CGRect? { get }