Interface RenderingBoHasDimension
-
- All Superinterfaces:
AutoCloseable
,RenderingBo
- All Known Subinterfaces:
ControlRenderingBo
,DrawFontRenderingBo
,DrawImageRenderingBo
,DrawWindowRenderingBo
public interface RenderingBoHasDimension extends RenderingBo
Rendering business objects implementing this interface have a dimension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getHeight()
int
getWidth()
RenderingBoHasDimension
withDimensionAbsolute(int width, int height)
RenderingBoHasDimension
withDimensionAbsolute(HasPosition2 dim)
RenderingBoHasDimension
withDimensionIncrementalAbsolute(int width, int height)
RenderingBoHasDimension
withDimensionIncrementalAbsolute(HasPosition2 dim)
RenderingBoHasDimension
withDimensionIncrementalPercentual(double width, double height)
RenderingBoHasDimension
withDimensionPercentual(double width, double height)
-
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
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
withDimensionAbsolute
RenderingBoHasDimension withDimensionAbsolute(HasPosition2 dim)
-
withDimensionAbsolute
RenderingBoHasDimension withDimensionAbsolute(int width, int height)
-
withDimensionPercentual
RenderingBoHasDimension withDimensionPercentual(double width, double height)
- Parameters:
width
- Range 0.0 (No width) to 1.0 (Viewport width)height
- Range 0.0 (No height) to 1.0 (Viewport height)
-
withDimensionIncrementalAbsolute
RenderingBoHasDimension withDimensionIncrementalAbsolute(HasPosition2 dim)
-
withDimensionIncrementalAbsolute
RenderingBoHasDimension withDimensionIncrementalAbsolute(int width, int height)
-
withDimensionIncrementalPercentual
RenderingBoHasDimension withDimensionIncrementalPercentual(double width, double height)
-
-