org.kabeja.dxf
Class DXFImage

java.lang.Object
  extended by org.kabeja.dxf.DXFEntity
      extended by org.kabeja.dxf.DXFImage

public class DXFImage
extends DXFEntity

Author:
Field Summary
protected  double brightness
           
protected  java.util.ArrayList clipBoundary
           
protected  boolean clipping
           
protected  double contrast
           
protected  double fade
           
protected  java.lang.String imageDefID
           
protected  double imageSizeAlongU
           
protected  double imageSizeAlongV
           
protected  Point insertPoint
           
protected  boolean polygonalClipping
           
protected  boolean rectangularClipping
           
protected  Point vectorU
           
protected  Point vectorV
           
 
Fields inherited from class org.kabeja.dxf.DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile
 
Constructor Summary
DXFImage()
           
 
Method Summary
 void addClippingPoint(Point p)
           
 Bounds getBounds()
           
 double getBrightness()
           
 java.util.ArrayList getClipBoundary()
           
 double getContrast()
           
 double getFade()
           
 java.lang.String getImageDefObjectID()
           
 double getImageSizeAlongU()
           
 double getImageSizeAlongV()
           
 Point getInsertPoint()
           
 double getLength()
          Returns the length of the entity or 0 if the entity has no length
 java.lang.String getType()
           
 Point getVectorU()
           
 Point getVectorV()
           
 boolean isClipping()
           
 boolean isPolygonalClipping()
           
 boolean isRectangularClipping()
           
 void setBrightness(double brightness)
           
 void setClipping(boolean clipping)
           
 void setContrast(double contrast)
           
 void setFade(double fade)
           
 void setImageDefObjectID(java.lang.String id)
           
 void setImageSizeAlongU(double imageSizeAlongU)
           
 void setImageSizeAlongV(double imageSizeAlongV)
           
 void setInsertPoint(Point p)
           
 void setPolygonalClipping(boolean polygonalClipping)
           
 void setRectangularClipping(boolean rectangularClipping)
           
 void setVectorU(Point vectorU)
           
 void setVectorV(Point vectorV)
           
 
Methods inherited from class org.kabeja.dxf.DXFEntity
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

insertPoint

protected Point insertPoint

vectorV

protected Point vectorV

vectorU

protected Point vectorU

imageSizeAlongU

protected double imageSizeAlongU

imageSizeAlongV

protected double imageSizeAlongV

imageDefID

protected java.lang.String imageDefID

brightness

protected double brightness

contrast

protected double contrast

fade

protected double fade

clipBoundary

protected java.util.ArrayList clipBoundary

clipping

protected boolean clipping

rectangularClipping

protected boolean rectangularClipping

polygonalClipping

protected boolean polygonalClipping
Constructor Detail

DXFImage

public DXFImage()
Method Detail

getBounds

public Bounds getBounds()
Specified by:
getBounds in class DXFEntity

getType

public java.lang.String getType()
Specified by:
getType in class DXFEntity

getInsertPoint

public Point getInsertPoint()

setInsertPoint

public void setInsertPoint(Point p)

setImageDefObjectID

public void setImageDefObjectID(java.lang.String id)

getImageDefObjectID

public java.lang.String getImageDefObjectID()

getImageSizeAlongU

public double getImageSizeAlongU()
Returns:
Returns the imageSizeAlongU.

setImageSizeAlongU

public void setImageSizeAlongU(double imageSizeAlongU)
Parameters:
imageSizeAlongU - The imageSizeAlongU to set.

getImageSizeAlongV

public double getImageSizeAlongV()
Returns:
Returns the imageSizeAlongV.

setImageSizeAlongV

public void setImageSizeAlongV(double imageSizeAlongV)
Parameters:
imageSizeAlongV - The imageSizeAlongV to set.

getVectorU

public Point getVectorU()
Returns:
Returns the vectorU.

setVectorU

public void setVectorU(Point vectorU)
Parameters:
vectorU - The vectorU to set.

getVectorV

public Point getVectorV()
Returns:
Returns the vectorV.

setVectorV

public void setVectorV(Point vectorV)
Parameters:
vectorV - The vectorV to set.

getBrightness

public double getBrightness()
Returns:
Returns the brightness.

setBrightness

public void setBrightness(double brightness)
Parameters:
brightness - The brightness to set.

isClipping

public boolean isClipping()
Returns:
Returns the clipping.

setClipping

public void setClipping(boolean clipping)
Parameters:
clipping - The clipping to set.

getContrast

public double getContrast()
Returns:
Returns the contrast.

setContrast

public void setContrast(double contrast)
Parameters:
contrast - The contrast to set.

getFade

public double getFade()
Returns:
Returns the fade.

setFade

public void setFade(double fade)
Parameters:
fade - The fade to set.

getClipBoundary

public java.util.ArrayList getClipBoundary()
Returns:
Returns the clipBoundary.

addClippingPoint

public void addClippingPoint(Point p)

isPolygonalClipping

public boolean isPolygonalClipping()
Returns:
Returns the polygonalClipping.

setPolygonalClipping

public void setPolygonalClipping(boolean polygonalClipping)
Parameters:
polygonalClipping - The polygonalClipping to set.

isRectangularClipping

public boolean isRectangularClipping()
Returns:
Returns the rectangularClipping.

setRectangularClipping

public void setRectangularClipping(boolean rectangularClipping)
Parameters:
rectangularClipping - The rectangularClipping to set.

getLength

public double getLength()
Description copied from class: DXFEntity
Returns the length of the entity or 0 if the entity has no length

Specified by:
getLength in class DXFEntity
Returns: