Interface: StrokeMaskProps
Hierarchy
Omit
<SharedComponentProps
,"aria-labelledby"
>↳
StrokeMaskProps
Properties
alternateStrokeColor
• Optional
alternateStrokeColor: string
If shouldAlternate
is true
, the other color of the stroke
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:41
ariaLabel
• Optional
ariaLabel: string
Deprecated
- Use kebab-case aria-label instead Label to be used for accessibility purposes.
Inherited from
Omit.ariaLabel
Defined in
packages/ida-framework/src/types.ts:46
className
• Optional
className: string
Inherited from
Omit.className
Defined in
packages/ida-framework/src/types.ts:48
closePath
• Optional
closePath: boolean
If the given path isn't closed, close it automatically
Default
true
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:51
dashLength
• Optional
dashLength: number
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:29
height
• height: number
Height to use for the underlying SVG's viewbox
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:24
mask
• mask: Mask
Collection of points used to draw the SVG
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:28
role
• Optional
role: AriaRole
Inherited from
Omit.role
Defined in
packages/ida-framework/src/types.ts:49
shouldAlternate
• Optional
shouldAlternate: boolean
Show a second color instead of empty space between strokes
Default
true
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:46
strokeColor
• Optional
strokeColor: string
Default
'#C4CDD6'
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:37
strokeWidth
• Optional
strokeWidth: number
Default
0.1
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:33
style
• Optional
style: CSSProperties
Inherited from
Omit.style
Defined in
packages/ida-framework/src/types.ts:47
width
• width: number
Width to use for the underlying SVG's viewbox
Defined in
packages/ida-framework/src/features/marginOverlay/StrokeMask.tsx:20