parseClipPath method

List<Path>? parseClipPath()

Parses a clipPath element into a list of Paths.

Implementation

List<Path>? parseClipPath() {
  final String? rawClipAttribute = getAttribute(attributes, 'clip-path');
  if (rawClipAttribute != '') {
    return _definitions.getClipPath(rawClipAttribute!);
  }

  return null;
}