LineCap

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class LineCap extends System.Enum

The line cap style shall specify the shape that shall be used at the ends of open subpaths (and dashes, if any) when they are stroked.

Fields

FieldDescription
ButtCapButt cap.
RoundCapRound cap.
SquareCapProjecting square cap.

ButtCap

public static final int ButtCap

Butt cap. The stroke shall be squared off at the endpoint of the path. There shall be no projection beyond the end of the path.

RoundCap

public static final int RoundCap

Round cap. A semicircular arc with a diameter equal to the line width shall be drawn around the endpoint and shall be filled in.

SquareCap

public static final int SquareCap

Projecting square cap. The stroke shall continue beyond the endpoint of the path for a distance equal to half the line width and shall besquared off.