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

    Interface CreatePenPreviewLayerOptions

    interface CreatePenPreviewLayerOptions {
        penTool: Tool<PenScratch>;
        style?: PenPreviewStyle;
    }
    Index

    Properties

    Properties

    penTool: Tool<PenScratch>

    The Tool returned by usePenTool. The layer reads its scratch via tool.initScratch() (the hook is contracted to return a stable ref).