Interface TextureDrawer
-
public interface TextureDrawer- Author:
- Pierre Lando
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTextureDrawer.OriginPositionOrigin position.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddraw(TextureDrawingTools textureDrawingTools)Call the texture drawing.TextureDrawer.OriginPositiongetOriginPosition()Return the origin position.java.awt.DimensiongetTextureSize()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.
-
-