Package guideme.scene
Class LytGuidebookScene
java.lang.Object
guideme.document.block.LytNode
guideme.document.block.LytBlock
guideme.document.block.LytBox
guideme.scene.LytGuidebookScene
- All Implemented Interfaces:
LytBlockContainer,LytErrorSink,Styleable
Shows a pseudo-in-world scene within the guidebook.
-
Field Summary
Fields inherited from class guideme.document.block.LytBox
children, paddingBottom, paddingLeft, paddingRight, paddingTop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LytRectcomputeBoxLayout(LayoutContext context, int x, int y, int availableWidth) byte[]exportAsPng(float scale, boolean hideAnnotations) @Nullable GuidebookScenegetScene()booleanbooleanvoidsetBackground(ColorValue background) voidsetFullWidth(boolean fullWidth) voidsetInteractive(boolean interactive) voidsetScene(@Nullable GuidebookScene scene) protected LytVisitor.ResultvisitChildren(LytVisitor visitor, boolean includeOutOfTreeContent) Methods inherited from class guideme.document.block.LytBox
append, clearContent, computeLayout, getBackgroundColor, getChildren, onLayoutMoved, removeChild, render, setBackgroundColor, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTopMethods inherited from class guideme.document.block.LytBlock
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getBounds, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, isCulled, layout, setBorder, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setLayoutPos, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopMethods inherited from class guideme.document.block.LytNode
getDocument, getHoverStyle, getParent, getSourceNode, getStyle, getStylingParent, getTextContent, onMouseEnter, onMouseLeave, pickNode, setHoverStyle, setSourceNode, setStyle, tick, visit, visitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface guideme.document.block.LytBlockContainer
appendErrorMethods inherited from interface guideme.style.Styleable
modifyHoverStyle, modifyStyle, resolveHoverStyle, resolveStyle
-
Constructor Details
-
LytGuidebookScene
-
-
Method Details
-
getScene
-
setScene
-
computeBoxLayout
- Specified by:
computeBoxLayoutin classLytBox
-
setInteractive
public void setInteractive(boolean interactive) -
isInteractive
public boolean isInteractive() -
setBackground
-
isFullWidth
public boolean isFullWidth()- Overrides:
isFullWidthin classLytBlock
-
setFullWidth
public void setFullWidth(boolean fullWidth) - Overrides:
setFullWidthin classLytBlock
-
getPreferredSize
-
exportAsPng
public byte[] exportAsPng(float scale, boolean hideAnnotations) -
visitChildren
- Overrides:
visitChildrenin classLytNode
-