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: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 Aug 2011) $
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


Copyright © 2011. All Rights Reserved.