import React, { useState } from 'react'
import {
getProps,
defaultComponents as patternComponents,
} from '@freesewing/react/components/Pattern'
import { H5, H6 } from '@freesewing/react/components/Heading'
import { KeyVal } from '@freesewing/react/components/KeyVal'
import { Highlight } from '@freesewing/react/components/Highlight'
import { round, pathLength } from '@freesewing/utils'
const coords = (point) => `${point.x},${point.y}`
const Cp = ({ at }) => (
{pathName}
of {stackName}
Type | Coordinates |
---|---|
TopLeft |
|
BottomRight |
|
Width |
|
Height |
|
Path Length |
|
Type | Coordinates | ||
---|---|---|---|
{op.type} | {['move', 'line'].includes(op.type) ? (
To:
|
) : null}
{op.type === 'close' ? : null} {op.type === 'curve' ? ( |
Cp1:
Cp2:
To:
|
) : null}