getPerfectDashProps
See source codefunction getPerfectDashProps(
totalLength: number,
strokeWidth: number,
opts?: Partial<{
closed: boolean
end: 'none' | 'outset' | 'skip'
forceSolid: boolean
lengthRatio: number
snap: number
start: 'none' | 'outset' | 'skip'
style: TLDefaultDashStyle
}>
): {
strokeDasharray: string
strokeDashoffset: string
}Parameters
| Name | Description |
|---|---|
| |
| |
| |
Returns
{
strokeDasharray: string
strokeDashoffset: string
}Prev
getIncrementedNameNext
getPointerInfo