anchor property

IconParkData anchor
getter/setter pair

anchor 锚点

category: Connect 链接 author: 齐奉飞 tag: 选中, 锚点, 可编辑, 操作 rtl: false

Implementation

static IconParkData anchor = IconParkData("anchor", false, (props) => '<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><line x1="14" y1="8" x2="34" y2="8" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}"/><line x1="14" y1="8" x2="34" y2="8" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}"/><line x1="14" y1="40" x2="34" y2="40" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}"/><rect x="36" y="4" width="8" height="8" rx="2" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><rect x="4" y="4" width="8" height="8" rx="2" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><rect x="36" y="36" width="8" height="8" rx="2" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><rect x="4" y="36" width="8" height="8" rx="2" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><line x1="40" y1="14" x2="40" y2="34" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}"/><line x1="8" y1="14" x2="8" y2="34" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}"/></svg>');