org.deegree.style.styling.components
Class Stroke

java.lang.Object
  extended by org.deegree.style.styling.components.Stroke
All Implemented Interfaces:
Copyable<Stroke>

public class Stroke
extends Object
implements Copyable<Stroke>

Stroke

Version:
$Revision: 21366 $, $Date: 2009-12-10 14:03:38 +0100 (Thu, 10 Dec 2009) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Nested Class Summary
static class Stroke.LineCap
          LineCap
static class Stroke.LineJoin
          LineJoin
 
Field Summary
 Color color
          Default is gray (#808080).
 double[] dasharray
          Default is null.
 double dashoffset
          Default is 0.
 Graphic fill
          Default is null.
 Stroke.LineCap linecap
          Default is backend specific.
 Stroke.LineJoin linejoin
          Default is backend specific.
 double positionPercentage
          Default is -1 == not to use it.
 Graphic stroke
          Default is null.
 double strokeGap
          Default is 0.
 double strokeInitialGap
          Default is 0.
 double width
          Default is 1.
 
Constructor Summary
Stroke()
           
 
Method Summary
 Stroke copy()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

color

public Color color
Default is gray (#808080).


width

public double width
Default is 1.


linejoin

public Stroke.LineJoin linejoin
Default is backend specific.


linecap

public Stroke.LineCap linecap
Default is backend specific.


dasharray

public double[] dasharray
Default is null.


dashoffset

public double dashoffset
Default is 0.


stroke

public Graphic stroke
Default is null.


strokeGap

public double strokeGap
Default is 0.


strokeInitialGap

public double strokeInitialGap
Default is 0.


positionPercentage

public double positionPercentage
Default is -1 == not to use it.


fill

public Graphic fill
Default is null.

Constructor Detail

Stroke

public Stroke()
Method Detail

copy

public Stroke copy()
Specified by:
copy in interface Copyable<Stroke>
Returns:
the copied object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.