public class DrawParams
extends java.lang.Object
Constructor and Description |
---|
DrawParams(DiagramNode node) |
Modifier and Type | Method and Description |
---|---|
Brush |
getBrush() |
java.awt.geom.Rectangle2D |
getBrushBounds() |
java.awt.Graphics2D |
getGraphics() |
boolean |
getIsEllipse() |
RenderOptions |
getOptions() |
java.awt.geom.Rectangle2D |
getOriginalBounds() |
java.awt.geom.GeneralPath |
getPath() |
java.awt.geom.GeneralPath |
getPathDirect() |
Pen |
getPen() |
java.awt.geom.Rectangle2D |
getRotatedBounds() |
java.awt.geom.GeneralPath |
getRotatedPath() |
boolean |
getShadow() |
boolean |
getSkipDefaultDrawing() |
void |
setBrush(Brush brush) |
void |
setBrushBounds(java.awt.geom.Rectangle2D brushBounds) |
void |
setEllipse(boolean isEllipse) |
void |
setGraphics(java.awt.Graphics2D graphics) |
void |
setOptions(RenderOptions options) |
void |
setOriginalBounds(java.awt.geom.Rectangle2D originalBounds) |
void |
setPath(java.awt.geom.GeneralPath path) |
void |
setPen(Pen pen) |
void |
setRotatedBounds(java.awt.geom.Rectangle2D rotatedBounds) |
void |
setShadow(boolean shadow) |
void |
setSkipDefaultDrawing(boolean skipDefaultDrawing) |
public DrawParams(DiagramNode node)
public java.awt.geom.GeneralPath getPath()
public java.awt.geom.GeneralPath getPathDirect()
public java.awt.geom.GeneralPath getRotatedPath()
public void setGraphics(java.awt.Graphics2D graphics)
graphics
- the graphics to setpublic java.awt.Graphics2D getGraphics()
public void setShadow(boolean shadow)
shadow
- the shadow to setpublic boolean getShadow()
public void setOptions(RenderOptions options)
options
- the options to setpublic RenderOptions getOptions()
public void setBrush(Brush brush)
brush
- the brush to setpublic Brush getBrush()
public void setPen(Pen pen)
pen
- the pen to setpublic Pen getPen()
public void setEllipse(boolean isEllipse)
isEllipse
- the isEllipse to setpublic boolean getIsEllipse()
public void setBrushBounds(java.awt.geom.Rectangle2D brushBounds)
brushBounds
- the brushBounds to setpublic java.awt.geom.Rectangle2D getBrushBounds()
public void setOriginalBounds(java.awt.geom.Rectangle2D originalBounds)
originalBounds
- the originalBounds to setpublic java.awt.geom.Rectangle2D getOriginalBounds()
public void setPath(java.awt.geom.GeneralPath path)
path
- the path to setpublic void setRotatedBounds(java.awt.geom.Rectangle2D rotatedBounds)
rotatedBounds
- the rotatedBounds to setpublic java.awt.geom.Rectangle2D getRotatedBounds()
public void setSkipDefaultDrawing(boolean skipDefaultDrawing)
skipDefaultDrawing
- the skipDefaultDrawing to setpublic boolean getSkipDefaultDrawing()