Interface RenderingBoScaledAbsolutePosition
-
- All Superinterfaces:
AutoCloseable,RenderingBo
- All Known Subinterfaces:
ControlRenderingBo,DrawEffectRenderingBo,DrawImageRenderingBo,DrawTileCableRenderingBo,DrawTileEffectRenderingBo,DrawTileHighlightRenderingBo,DrawTileImageBo,DrawTilePixmapRenderingBo
public interface RenderingBoScaledAbsolutePosition extends RenderingBo
Rendering business objects implementing this interfaces have their absolute position already scaled earlier in the rendering pipeline (by a translation worker) instead of being scaled during the actual rendering. It is advisable to implement this interface when implementing a bo utilizing relative coordinates. This mechanism is managed by the renderer and usually does not need any interaction by client module code.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetScaledX()intgetScaledY()RenderingBowithPositionAbsoluteAnchorTopLeftScaled(int x, int y)-
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
-
getScaledX
int getScaledX()
-
getScaledY
int getScaledY()
-
withPositionAbsoluteAnchorTopLeftScaled
RenderingBo withPositionAbsoluteAnchorTopLeftScaled(int x, int y)
-
-