org.deegree.rendering.r2d.strokes
Class OffsetStroke

java.lang.Object
  extended by org.deegree.rendering.r2d.strokes.OffsetStroke
All Implemented Interfaces:
java.awt.Stroke

public class OffsetStroke
extends java.lang.Object
implements java.awt.Stroke

OffsetStroke Idea: it would be good to combine the offset line and the line width line. In that case the offset and line width could be adjusted dynamically when angles are too small.

Version:
$Revision: 27424 $, $Date: 2010-10-20 11:05:42 +0200 (Mi, 20. Okt 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
OffsetStroke(double offset, java.awt.Stroke stroke, PerpendicularOffsetType type)
           
 
Method Summary
 java.awt.Shape createStrokedShape(java.awt.Shape p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OffsetStroke

public OffsetStroke(double offset,
                    java.awt.Stroke stroke,
                    PerpendicularOffsetType type)
Parameters:
offset -
stroke -
type - may be null, default is Standard
Method Detail

createStrokedShape

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


Copyright © 2011. All Rights Reserved.