The goog.ui.RoundedPanel Namespace

The goog.ui.RoundedPanel.Corner Enum

Enum for specifying which corners to render. … more

.create(radius, borderWidth, borderColor, opt_backgroundColor, opt_corners, opt_domHelper)

Factory method that returns an instance of a BaseRoundedPanel.

radius {number}
The radius of the rounded corner(s), in pixels.
borderWidth {number}
The thickness of the border, in pixels.
borderColor {string}
The border color of the panel.
opt_backgroundColor {string=}
The background color of the panel.
opt_corners {number=}
The corners of the panel to be rounded. Any corners not specified will be rendered as square corners. Will default to all square corners if not specified.
opt_domHelper {goog.dom.DomHelper=}
The DOM helper object for the document we want to render in.
returns {goog.ui.BaseRoundedPanel}
An instance of a goog.ui.BaseRoundedPanel subclass.