Inlay (@NotNull Editor editor, int offset, boolean relatesToPrecedingText, boolean showAbove, boolean showWhenFolded, int widthInPixels, Integer heightInPixels) { return editor.getInlayModel().addBlockElement(offset, new InlayProperties() .relatesToPrecedingText(relatesToPrecedingText) .showAbove(showAbove) .showWhenFolded(showWhenFolded), new EmptyInlayRenderer(widthInPixels, heightInPixels)); }