getShoulder method
- Size size
Gets the location of the shoulder joint.
Implementation
Offset getShoulder(Size size) {
const shoulderX = 0.0;
const shoulderY = 0.0;
return Offset(toAbsolute(shoulderX) + size.width / 2, -toAbsolute(shoulderY) + size.height / 2);
}