Skip to content
pixi-silk
GitHub repository
Type

AnchorType

import type { AnchorType } from 'pixi-silk/path';
type AnchorType = "corner" | "smooth" | "mirrored";

How an anchor’s two handles move together.

  • corner: each handle moves on its own. Without handles it is a sharp corner.
  • smooth: the handles stay on one line, each keeps its own length.
  • mirrored: the handles stay on one line and have the same length.