Model Railroad System  2.2.2
Public Member Functions | Private Attributes | List of all members
OvalWidgets::OvalRoundCornerRectangle Class Reference

Oval Round Corner Rectangle. More...

Public Member Functions

 OvalRoundCornerRectangle (name, _canvas,...)
 Construct an oval round corner rectangle. More...
 
 ~OvalRoundCornerRectangle ()
 Destructor free up all resources. More...
 

Private Attributes

 canvas
 Canvas the widget is on. More...
 

Detailed Description

Oval Round Corner Rectangle.

Just a rectangle with rounded corners.

Parameters
_canvasThe canvas to draw the widget on.
...Options:
  • -x The X coordinate (default 0).
  • -y The Y coordinate (default 0).
  • -width The width of the button (default 200).
  • -height The height of the button (default 40).
  • -color The color of the rectangle (default white).
Author
Robert Heller <heller@deepsoft.com>

Constructor & Destructor Documentation

◆ OvalRoundCornerRectangle()

OvalWidgets::OvalRoundCornerRectangle::OvalRoundCornerRectangle ( name  ,
_canvas  ,
  ... 
)

Construct an oval round corner rectangle.

Parameters
_canvasThe canvas to draw the oval round corner rectangle on.
...The option value list.

◆ ~OvalRoundCornerRectangle()

OvalWidgets::OvalRoundCornerRectangle::~OvalRoundCornerRectangle ( )

Destructor free up all resources.

Member Data Documentation

◆ canvas

OvalWidgets::OvalRoundCornerRectangle::canvas
private

Canvas the widget is on.