Class RendererLayoutInfo
java.lang.Object
ro.sync.ecss.extensions.api.editor.RendererLayoutInfo
Class which contains rendering information about a renderer, information like
the baseline and the size. The baseline and the size of the renderer are computed
in a certain context.
- Since:
- 14.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the baseline.getSize()
Get the size of the renderer, in a certain context.
-
Constructor Details
-
RendererLayoutInfo
Constructor.- Parameters:
baseline
- The baseline of the rendering component.size
- The size of the renderer.
-
-
Method Details
-
getBaseline
public int getBaseline()Gets the baseline. The baseline is measured from the top of the component. This method is primarily meant for the layout manager to align components along their baseline.- Returns:
- The baseline.
-
getSize
Get the size of the renderer, in a certain context.- Returns:
- The renderer size.
-