connectionPoint property
connection-point 连接点
category: Connect 链接 author: 刘心乐 tag: 网络, 连接点, 节点, 网络邻居, 渠道 rtl: false
Implementation
static IconParkData connectionPoint = IconParkData("connectionPoint", false, (props) => '<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 24L43 24" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M28 4H20C18.8954 4 18 4.89543 18 6V14C18 15.1046 18.8954 16 20 16H28C29.1046 16 30 15.1046 30 14V6C30 4.89543 29.1046 4 28 4Z" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M16 32H8C6.89543 32 6 32.8954 6 34V42C6 43.1046 6.89543 44 8 44H16C17.1046 44 18 43.1046 18 42V34C18 32.8954 17.1046 32 16 32Z" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M40 32H32C30.8954 32 30 32.8954 30 34V42C30 43.1046 30.8954 44 32 44H40C41.1046 44 42 43.1046 42 42V34C42 32.8954 41.1046 32 40 32Z" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M24 24V16" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M36 32V24" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M12 32V24" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/></svg>');