operatorGeometry function

KeyGeometry? operatorGeometry(
  1. KeyShapeSpec shape
)

The resting KeyGeometry of operator/= keys, or null when they use restGeometry.

Implementation

KeyGeometry? operatorGeometry(KeyShapeSpec shape) {
  final kind = shape.operatorKind;
  if (kind == null) return null;
  return KeyGeometry(
    kind,
    m3eShape: shape.operatorM3eShape,
    cornerPermille: shape.cornerPermille,
  );
}