public class ExcitableShapeDoodle extends ShapeDoodle implements ExcitableDoodle
mEdgeCold, mFillCold, mShape
mToolTip, mZOrder
mParent
Constructor and Description |
---|
ExcitableShapeDoodle(Shape iShape) |
ExcitableShapeDoodle(Shape iShape,
float iZ)
Specifies Z-order.
|
Modifier and Type | Method and Description |
---|---|
boolean |
draw(FigGraphics iGraphics)
Renders doodle.
|
void |
setEdgeHotPaint(Paint iPaint) |
void |
setEdgeWarmPaint(Paint iPaint) |
void |
setFillHotPaint(Paint iPaint) |
void |
setFillWarmPaint(Paint iPaint) |
contains, draw, getBounds, getEdgePaint, getFillPaint, setEdgePaint, setFillPaint
getToolTip, getZOrder, setToolTip, setZOrder
getDefaultOrigin, getParent, redraw, setParent
public ExcitableShapeDoodle(Shape iShape)
public ExcitableShapeDoodle(Shape iShape, float iZ)
Details:
This constructor adapts the given shape and sets its Z-
iShape
- the shape to adaptiZ
- the Z-orderpublic void setFillWarmPaint(Paint iPaint)
public void setEdgeWarmPaint(Paint iPaint)
public void setFillHotPaint(Paint iPaint)
public void setEdgeHotPaint(Paint iPaint)
public boolean draw(FigGraphics iGraphics)
Doodle
Details:
Doodle.draw(FigGraphics)
renders this doodle using the supplied graphics environment.
When the host FigureView
is repainting itself, it will probably call this method, albeit indirectly, to redraw its figure's components.
This method returns true
if drawing was successful, false
otherwise.
draw
in interface Doodle
draw
in class ShapeDoodle
iGraphics
- the graphics contextCopyright © 2013. All Rights Reserved.