heart property

RoundedPolygon heart
final

A heart shape.

Implementation

static final heart = _customPolygon(
  [
    const .new(.new(0.5, 0.268), .new(radius: 0.016)),
    const .new(.new(0.792, -0.066), .new(radius: 0.958)),
    const .new(.new(1.064, 0.276), .new(radius: 1.0)),
    const .new(.new(0.501, 0.946), .new(radius: 0.129)),
  ],
  1,
  mirroring: true,
).normalized();