Interface RenderingBoHasSubTileOffset
-
- All Superinterfaces:
AutoCloseable
,RenderingBo
- All Known Subinterfaces:
ControlRenderingBo
,DrawEffectRenderingBo
,DrawTileCableRenderingBo
,DrawTileEffectRenderingBo
,DrawTileHighlightRenderingBo
,DrawTileImageBo
,DrawTilePixmapRenderingBo
public interface RenderingBoHasSubTileOffset extends RenderingBo
BOs implementing this interface can be placed with an offset when using the tile raster as parent for positioning
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<AbstractCompositeEntity>
getAlternativeParent()
CoordI2
getSubTileOffset()
RenderingBo
setAlternativeParent(Optional<AbstractCompositeEntity> alternativeParent)
Sets an alternative parent.RenderingBoHasSubTileOffset
setSubTileOffset(CoordI2 offset)
Sets the offset in absolute pixels-
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
-
-
-
-
Method Detail
-
getSubTileOffset
CoordI2 getSubTileOffset()
-
setSubTileOffset
RenderingBoHasSubTileOffset setSubTileOffset(CoordI2 offset)
Sets the offset in absolute pixels
-
setAlternativeParent
RenderingBo setAlternativeParent(Optional<AbstractCompositeEntity> alternativeParent)
Sets an alternative parent. This is needed if you create this BO outside of onClientDrawEntity() call or want to create it for a different parent.
-
getAlternativeParent
Optional<AbstractCompositeEntity> getAlternativeParent()
-
-