SVGLayer

open class SVGLayer : CAShapeLayer, SVGLayerType

A CAShapeLayer subclass that allows you to easily work with sublayers and get sizing information

  • The minimum CGRect that fits all subpaths

    Declaration

    Swift

    public var boundingBox: CGRect
  • Returns a copy of the given SVGLayer

    Declaration

    Swift

    var svgLayerCopy: SVGLayer? { get }
  • Applies the given fill color to all sublayers

    Declaration

    Swift

    override open var fillColor: CGColor? { get set }
  • Applies the given line width to all CAShapeLayers

    Declaration

    Swift

    override open var lineWidth: CGFloat { get set }
  • Applies the given stroke color to all CAShapeLayers

    Declaration

    Swift

    override open var strokeColor: CGColor? { get set }