AUTEUR v0.1.6
AUTEUR v0.1.6
import { Draft, Emphasis } from "auteur";

const draft = useRef(new Draft());
const newEmphasis = useRef(new Emphasis("value", "max"));

newEmphasis.current.selection(leafRects);

draft.current.layer(ref.current)
        .exclude({"name":["fill"]})
        .augment(newEmphasis.current.getAugs());
View raw data