|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.ruler.RulerDrawer
public class RulerDrawer
Constructor Summary | |
---|---|
RulerDrawer(TextureManager textureManager)
Ruler drawer constructor. |
Method Summary | |
---|---|
void |
disposeResources()
Dispose all used resources. |
RulerDrawingResult |
draw(DrawingTools drawingTools,
RulerModel model)
Ruler drawing method. |
void |
setSpriteFactory(RulerSpriteFactory spriteFactory)
Set the current RulerSpriteFactory . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RulerDrawer(TextureManager textureManager)
textureManager
- the TextureManager
of the canvas where the ruler will be drawn.Method Detail |
---|
public RulerDrawingResult draw(DrawingTools drawingTools, RulerModel model)
drawingTools
- the DrawingTools
of the canvas where the ruler will be drawn.model
- the RulerModel
of the drawn ruler.
RulerDrawingResult
give information about how the ruler have been drawn.public void setSpriteFactory(RulerSpriteFactory spriteFactory)
RulerSpriteFactory
.
All existing sprite will be cleared.
This ruler drawer will use the new RulerSpriteFactory
.
spriteFactory
- the new RulerSpriteFactory
.public void disposeResources()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |