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