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 a solid stroke pattern, meaning no extension beyond the line's endpoint.

  • A ButtCap can be easily constructed using its default constructor, ButtCap().

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 ()