search

goog.ui.GraphicsRoundedPanel

Provided By
Extends
All Implemented Interfaces

RoundedPanel class that uses goog.graphics to create the rounded corners. Do not instantiate directly. Instead, call goog.ui.RoundedPanel.create().

new GraphicsRoundedPanel( radius, borderWidth, borderColor, opt_backgroundColor, opt_corners, opt_domHelper )

Parameters
radiusnumber

The radius of the rounded corner(s), in pixels.

borderWidthnumber

The thickness of the border, in pixels.

borderColorstring

The border color of the panel.

opt_backgroundColorstring=

The background color of the panel.

opt_cornersnumber=

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|null)=

The DOM helper object for the document we want to render in.

Instance Methods

Instance Properties