public static class Frame.FramePanel extends Configurable<Frame.FramePanel>
Frame class. Suggested usage:
chart.setOptions3d()
.setFrame(new Frame()
.setSide(new FramePanel()
.setColor(new Color(0, 0, 0, .5))
.setSize(2)
)
)
;
| Constructor and Description |
|---|
Frame.FramePanel() |
| Modifier and Type | Method and Description |
|---|---|
Frame.FramePanel |
setColor(Color color)
Convenience method for setting the 'color' attribute of a panel.
|
Frame.FramePanel |
setSize(Number size)
Convenience method for setting the 'size' attribute of a panel.
|
getOptions, setOptionpublic Frame.FramePanel setColor(Color color)
framePanel.setOption("color", new Color());
color - The color of the panel. Defaults to transparent.Frame.FramePanel instance for convenient method chaining.public Frame.FramePanel setSize(Number size)
framePanel.setOption("size", 5);
size - Thickness of the panel. Defaults to 1.Frame.FramePanel instance for convenient method chaining.Copyright © 2015. All Rights Reserved.