@joint/react
    Preparing search index...

    Interface StrokeHighlighterProps

    interface StrokeHighlighterProps {
        isHidden?: boolean;
        layer?: string;
        nonScalingStroke?: boolean;
        padding?: number;
        rx?: number;
        ry?: number;
        useFirstSubpath?: boolean;
    }

    Hierarchy

    • PropsWithChildren
    • SVGProps<SVGPathElement>
      • StrokeHighlighterProps
    Index

    Properties

    isHidden?: boolean

    If the highlighter is disabled or not.

    layer?: string

    The stacking order of the highlighter. See dia.HighlighterView for supported values.

    nonScalingStroke?: boolean

    When enabled the stroke width of the highlighter is not dependent on the transformations of the paper (e.g. zoom level). It defaults to false.

    padding?: number

    The space between the stroke and the element

    rx?: number

    The stroke's border radius on the x-axis

    ry?: number

    The stroke's border radius on the y-axis

    useFirstSubpath?: boolean

    Draw the stroke by using the first subpath of the target el compound path.