setElasticity method

void setElasticity(
  1. double elasticity
)

Set the elasticity of this shape.

Implementation

void setElasticity(double elasticity) => _shape.setElasticity(elasticity);