d3-thematika - v0.0.1
    Preparing search index...

    Interface LayerAttr

    レイヤーのSVG属性設定(d3命名規則に合わせてattrを使用)

    interface LayerAttr {
        className?: string;
        clipPath?: string | ((feature: Feature, index?: number) => string);
        fill?: string | ((feature: Feature, index?: number) => string);
        fillOpacity?: number | ((feature: Feature, index?: number) => number);
        filter?: string | ((feature: Feature, index?: number) => string);
        opacity?: number | ((feature: Feature, index?: number) => number);
        stroke?: string | ((feature: Feature, index?: number) => string);
        strokeDasharray?: string | ((feature: Feature, index?: number) => string);
        strokeWidth?: number | ((feature: Feature, index?: number) => number);
    }
    Index

    Properties

    className?: string

    追加のCSSクラス名

    clipPath?: string | ((feature: Feature, index?: number) => string)

    クリップパス

    fill?: string | ((feature: Feature, index?: number) => string)

    塗りつぶし色

    fillOpacity?: number | ((feature: Feature, index?: number) => number)

    塗りつぶしの透明度(0-1)

    filter?: string | ((feature: Feature, index?: number) => string)

    SVGフィルター

    opacity?: number | ((feature: Feature, index?: number) => number)

    透明度(0-1)

    stroke?: string | ((feature: Feature, index?: number) => string)

    境界線の色

    strokeDasharray?: string | ((feature: Feature, index?: number) => string)

    境界線の破線パターン

    strokeWidth?: number | ((feature: Feature, index?: number) => number)

    境界線の幅