applyAttributes method

Node applyAttributes(
  1. SvgAttributes newAttributes, {
  2. bool replace = false,
})
inherited

Creates a new compatible new node with attribute inheritence.

If replace is true, treats the application of attributes as if this node is the parent. Otherwise, treats the application of the attributes as if the newAttributes are from the parent.

By default, returns this.

Implementation

Node applyAttributes(SvgAttributes newAttributes, {bool replace = false}) =>
    this;