com.partnersoft.v3x.graphics.linetypes
Class LinetypeFormat

java.lang.Object
  extended by com.partnersoft.v3x.graphics.linetypes.LinetypeFormat

public class LinetypeFormat
extends java.lang.Object

A format (dashed, barbed, etc.) for a line, expressed in a simple language.


Field Summary
static java.lang.String defaultFormat
          A safe default format.
 
Constructor Summary
LinetypeFormat()
          Create a new LinetypeFormat.
LinetypeFormat(java.lang.String format)
          Create a new LinetypeFormat with the given format string.
 
Method Summary
 java.lang.String getFormat()
          Format string that describes the linetype.
 java.util.ArrayList getMembers()
          Sections of the linetype.
 float getWidth()
          If doubled is true, this is the width used for the double line.
 boolean isDoubled()
          If true, line is drawn doubled, with a width specified as the width property.
 void setDoubled(boolean tizit)
           
 void setFormat(java.lang.String newFormat)
          Format string that describes the linetype.
 void setWidth(float newWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultFormat

public static final java.lang.String defaultFormat
A safe default format.

See Also:
Constant Field Values
Constructor Detail

LinetypeFormat

public LinetypeFormat()
Create a new LinetypeFormat.


LinetypeFormat

public LinetypeFormat(java.lang.String format)
Create a new LinetypeFormat with the given format string.

Method Detail

getFormat

public java.lang.String getFormat()
Format string that describes the linetype.


setFormat

public void setFormat(java.lang.String newFormat)
Format string that describes the linetype.


getMembers

public java.util.ArrayList getMembers()
Sections of the linetype.


isDoubled

public boolean isDoubled()
If true, line is drawn doubled, with a width specified as the width property.


setDoubled

public void setDoubled(boolean tizit)

getWidth

public float getWidth()
If doubled is true, this is the width used for the double line.


setWidth

public void setWidth(float newWidth)