weasel API - v0.8.0
    Preparing search index...

    Function findShapeSilhouette

    • Find the painter for node and ask it for the node's silhouette path, in world coords. Returns null if no painter matches, or the matching painter has no silhouette method, or the method returns null. Used by clipping, generic non-rect hit-testing, lasso, and SVG export — anywhere the kit needs the "closed boundary" of whatever this kind of node draws as.

      Painters return their silhouette in the pose's local (unrotated) frame; this bakes pose.rotation on top via the shared rotation convention, so clips/area-select of a rotated node use the rotated boundary the renderer draws. (paint() is unaffected — it applies rotation via the render wrap, not the silhouette, so there is no double-rotation.)

      Type Parameters

      • TData
      • TPose

      Parameters

      Returns Path | null