#include <Wt/WCircleArea>
Public Member Functions | |
WCircleArea () | |
Default constructor. | |
WCircleArea (int x, int y, int radius) | |
Construct a circular area with given geometry. | |
void | setCenter (const WPoint &point) |
Set the center. | |
void | setCenter (const WPointF &point) |
Set the center. | |
void | setCenter (int x, int y) |
Set the center. | |
int | centerX () const |
Returns the center X coordinate. | |
int | centerY () const |
Returns the center Y coordinate. | |
void | setRadius (int radius) |
Set the radius. | |
int | radius () const |
Returns the radius. |
The area may be added to a WImage or WPaintedWidget. The circle is specified in pixel coordinates.
Wt::WCircleArea::WCircleArea | ( | ) |
Default constructor.
Specifies a circular area with center (0, 0) and radius 0.
Wt::WCircleArea::WCircleArea | ( | int | x, | |
int | y, | |||
int | radius | |||
) |
Construct a circular area with given geometry.
The arguments are in pixel units.