SquareCap

  • SquareCap is a type of line cap that creates a squared-off end for polylines.

  • It extends half the stroke width beyond the line's endpoint for a visually distinct cap.

  • You can create a SquareCap using its default constructor, SquareCap().

  • This class inherits methods like equals, hashCode, and toString for object comparison and representation.

public final class SquareCap extends Cap

Cap that is squared off after extending half the stroke width beyond the start or end vertex of a Polyline with solid stroke pattern.

Inherited Constant Summary

Public Constructor Summary

SquareCap()
Constructs a SquareCap.

Public Method Summary

String

Inherited Method Summary

Public Constructors

public SquareCap ()

Constructs a SquareCap.

Public Methods

public String toString ()