matchDimSize method

void matchDimSize(
  1. Mobject mob,
  2. int dim, {
  3. Vector3 aboutEdge = ORIGIN,
  4. Vector3? aboutPoint,
  5. bool stretch = false,
})

Implementation

void matchDimSize(Mobject mob, int dim,
    {Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint, bool stretch = false}) {
  rescaleToFit(
    mob.lengthOverDim(dim),
    dim,
    aboutEdge: aboutEdge,
    aboutPoint: aboutPoint,
    stretch: stretch,
  );
}