deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.rendering.r2d.strokes
Class OffsetStroke

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

public class OffsetStroke
extends Object
implements 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: 22748 $, $Date: 2010-02-24 17:03:49 +0100 (Mi, 24 Feb 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
OffsetStroke(double offset, Stroke stroke, PerpendicularOffsetType type)
           
 
Method Summary
 Shape createStrokedShape(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,
                    Stroke stroke,
                    PerpendicularOffsetType type)
Parameters:
offset -
stroke -
type - may be null, default is Standard
Method Detail

createStrokedShape

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>