Search Docs
Loading...
Skip to content

Type Alias: CustomCardSvgVectorPathBackground

type CustomCardSvgVectorPathBackground = object;

Type representing an SVG vector path background for a custom card.

  • type: The type of the background, which is ‘svgVectorPath’.
  • viewBox: The viewBox attribute for the SVG.
  • width: Optional width of the SVG.
  • height: Optional height of the SVG.
  • d: The path data for the SVG.
  • stroke: Optional stroke color for the SVG.
  • strokeWidth: Optional stroke width for the SVG.
  • strokeLinecap: Optional stroke line cap for the SVG.
  • strokeLinejoin: Optional stroke line join for the SVG.
  • strokeDasharray: Optional stroke dash array for the SVG.
  • strokeDashoffset: Optional stroke dash offset for the SVG.
  • opacity: Optional opacity for the SVG.
  • clipPath: Optional clip path for the SVG.
  • fill: Optional fill color for the SVG.
  • fillRule: Optional fill rule for the SVG.
  • clipRule: Optional clip rule for the SVG.

Properties#

Property Type
type "svgVectorPath"
viewBox string
width? string
height? string
d string
stroke? string
strokeWidth? number
strokeLinecap? "butt"
strokeLinejoin? "miter"
strokeDasharray? string
strokeDashoffset? number
opacity? number
clipPath? string
fill? string
fillRule? "nonzero"
clipRule? "nonzero"