Class PdfCanvasConstants.LineCapStyle

  • Enclosing class:
    PdfCanvasConstants

    public static class PdfCanvasConstants.LineCapStyle
    extends java.lang.Object
    The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked. All documentation for this class is taken from ISO 32000-1, section 8.4.3.3 "Line Cap Style".
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BUTT
      The stroke is squared of at the endpoint of the path.
      static int PROJECTING_SQUARE
      The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
      static int ROUND
      A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LineCapStyle()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BUTT

        public static final int BUTT
        The stroke is squared of at the endpoint of the path. There is no projection beyond the end of the path.
        See Also:
        Constant Field Values
      • ROUND

        public static final int ROUND
        A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
        See Also:
        Constant Field Values
      • PROJECTING_SQUARE

        public static final int PROJECTING_SQUARE
        The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LineCapStyle

        private LineCapStyle()