Interface DrawTileImageBo
-
- All Superinterfaces:
AutoCloseable
,RenderingBo
,RenderingBoHasPositionRelativeToParent
,RenderingBoHasSubTileOffset
,RenderingBoScaledAbsolutePosition
public interface DrawTileImageBo extends RenderingBoHasPositionRelativeToParent, RenderingBoHasSubTileOffset, RenderingBoScaledAbsolutePosition
This bo renders an image on a tile. Tile BOs always work on tiles with relative tile coordinates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DrawTileImageBo
setOrientation(Edge2 orientation)
Orientation of the tileDrawTileImageBo
setTilesetSourceIndex(int tilesetIndex)
The internal index of a tileset can be obtained via TilesetManager#getIndexByNameDrawTileImageBo
setTilesetSourcePositionX(int tilesetPositionX)
DrawTileImageBo
setTilesetSourcePositionY(int tilesetPositionY)
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBo
getLayer, getLocalX, getLocalY, getX, getY, setColor, setEngineData, setLayer, withPositionAbsoluteAnchorBottomLeft, withPositionAbsoluteAnchorBottomLeft, withPositionAbsoluteAnchorBottomRight, withPositionAbsoluteAnchorBottomRight, withPositionAbsoluteAnchorTopLeft, withPositionAbsoluteAnchorTopLeft, withPositionAbsoluteAnchorTopRight, withPositionAbsoluteAnchorTopRight, withPositionIncrementalAbsolute, withPositionIncrementalAbsolute, withPositionIncrementalPercentual, withPositionPercentual, withPositionRelative, withPositionRelative
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBoHasPositionRelativeToParent
getAlternativeParent, getScaleTile, setAlternativeParent, setScaleTile, setZoomFactor
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBoHasSubTileOffset
getAlternativeParent, getSubTileOffset, setAlternativeParent, setSubTileOffset
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBoScaledAbsolutePosition
getScaledX, getScaledY, withPositionAbsoluteAnchorTopLeftScaled
-
-
-
-
Method Detail
-
setTilesetSourcePositionX
DrawTileImageBo setTilesetSourcePositionX(int tilesetPositionX)
- Parameters:
tilesetPositionX
- Position is the index in the tile grid, not absolute pixels
-
setTilesetSourcePositionY
DrawTileImageBo setTilesetSourcePositionY(int tilesetPositionY)
- Parameters:
tilesetPositionY
- Position is the index in the tile grid, not absolute pixels
-
setTilesetSourceIndex
DrawTileImageBo setTilesetSourceIndex(int tilesetIndex)
The internal index of a tileset can be obtained via TilesetManager#getIndexByName
-
setOrientation
DrawTileImageBo setOrientation(Edge2 orientation)
Orientation of the tile
-
-