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

Class GrowStroke

  • All Implemented Interfaces:
    java.awt.Stroke


    public class GrowStroke
    extends DoubleStroke
    GrowStroke can be used to grow/shrink a figure by a specified line width. This only works with closed convex paths having edges in clockwise direction.

    Note: Although this is a Stroke object, it does not actually create a stroked shape, but one that can be used for filling.

    • Constructor Summary

      Constructors 
      Constructor and Description
      GrowStroke(double grow, double miterLimit) 
    • 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

      • GrowStroke

        public GrowStroke(double grow,
                          double miterLimit)
    • Method Detail

      • createStrokedShape

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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.