Documentation of 'org.jhotdraw.geom.DoubleStroke' Java class
DoubleStroke
org.jhotdraw.geom

Class DoubleStroke

  • All Implemented Interfaces:
    java.awt.Stroke
    Direct Known Subclasses:
    GrowStroke


    public class DoubleStroke
    extends java.lang.Object
    implements java.awt.Stroke
    Draws a double stroke (an outline of an outline). The inner width of a DoubleStroke defines the distance between the two outlines being drawn. The outline width of a DoubleStroke defines the thickness of the outline.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DoubleStroke(double innerWidth, double outlineWidth) 
      DoubleStroke(double innerWidth, double outlineWidth, int cap, int join, double miterLimit, float[] dashes, float dashPhase) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.Shape createStrokedShape(java.awt.Shape s) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DoubleStroke

        public DoubleStroke(double innerWidth,
                            double outlineWidth)
      • DoubleStroke

        public DoubleStroke(double innerWidth,
                            double outlineWidth,
                            int cap,
                            int join,
                            double miterLimit,
                            @Nullable
                            float[] dashes,
                            float dashPhase)
    • Method Detail

      • createStrokedShape

        public java.awt.Shape createStrokedShape(java.awt.Shape s)
        Specified by:
        createStrokedShape in interface java.awt.Stroke

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.