hexWidth property
double
get
hexWidth
获取六边形的宽度
Implementation
double get hexWidth {
if (orientation == HexOrientationMatrix.pointy) {
return size * math.sqrt(3);
} else {
return size * 2;
}
}