Interface TextureDrawer
-
public interface TextureDrawer
- Author:
- Pierre Lando
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextureDrawer.OriginPosition
Origin position.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
draw(TextureDrawingTools textureDrawingTools)
Call the texture drawing.TextureDrawer.OriginPosition
getOriginPosition()
Return the origin position.java.awt.Dimension
getTextureSize()
Texture size getter.
-
-
-
Method Detail
-
draw
void draw(TextureDrawingTools textureDrawingTools)
Call the texture drawing.- Parameters:
textureDrawingTools
- the used drawing tools.
-
getTextureSize
java.awt.Dimension getTextureSize()
Texture size getter.- Returns:
- texture size.
-
getOriginPosition
TextureDrawer.OriginPosition getOriginPosition()
Return the origin position. Warning: change the returned value during a draw call have no effect.- Returns:
- the origin position.
-
-