ButtCap

  • ButtCap is a type of line cap that creates a squared-off end for polylines, stopping precisely at the vertex.

  • It's the default cap style for polylines with solid stroke patterns, essentially providing no extension beyond the line's endpoint.

  • You can create a ButtCap instance using its constructor ButtCap().

  • The class provides a toString() method for a string representation.

public final class ButtCap extends Cap

Cap that is squared off exactly at the start or end vertex of a Polyline with solid stroke pattern, equivalent to having no additional cap beyond the start or end vertex. This is the default cap type at start and end vertices of Polylines with solid stroke pattern.

Inherited Constant Summary

Public Constructor Summary

ButtCap()
Constructs a ButtCap.

Public Method Summary

String

Inherited Method Summary

Public Constructors

public ButtCap ()

Constructs a ButtCap.

Public Methods

public String toString ()