Capsule.fromPoints constructor
Capsule.fromPoints({})
@param radiusTop The radius of the top of the Cylinder. @param radiusBottom The radius of the bottom of the Cylinder. @param height The height of the Cylinder. @param numSegments The number of segments to build the cylinder out of.
Implementation
Capsule.fromPoints({
required super.points,
this.radiusTop = 1,
this.radiusBottom = 1,
this.height = 1,
super.numSegments = 8,
}):super(
type: ShapeType.capsule
);