Geometric class. More...
#include <ilviews/base/geometry/IlvRoundRectCorner.h>
Public Member Functions | |
IlvRoundRectCorner (const IlvRoundRectCorner &corner)=default | |
Copy constructor. | |
IlvRoundRectCorner (IlvDim radius=0) | |
Constructor. More... | |
IlvRoundRectCorner (IlvDim width, IlvDim height) | |
Constructor. More... | |
IlvRoundRectCorner (IlvDim2D dimensions) | |
Constructor. More... | |
IlvDim | height () const |
Retrieves corner's dimension on Y axis. .-" / | <–height ; |. More... | |
virtual IlvBoolean | isEvenlyRounded () const |
Indicates that all radiuses are equal. More... | |
virtual IlvBoolean | isRounded () const |
Indicates that the corner is rounded. More... | |
IlvDim | width () const |
Retrieves corner's dimension on X axis. .-" / ;==== <– width. More... | |
Friends | |
class | IlvRoundRect |
Geometric class.
Library: xviews or winviews or mviews (mutually exclusive)
IlvRoundRectCorner
is a corner of IlvRoundRect
.
IlvRoundRectCorner::IlvRoundRectCorner | ( | IlvDim | radius = 0 | ) |
Constructor.
This constructor initializes a new corner of IlvRoundRect
.
radius | Corner's width and height |
Constructor.
This constructor initializes a new corner of IlvRoundRect
.
width | Corner's width |
height | Corner's height |
IlvRoundRectCorner::IlvRoundRectCorner | ( | IlvDim2D | dimensions | ) |
IlvDim IlvRoundRectCorner::height | ( | ) | const |
Retrieves corner's dimension on Y axis. .-" / | <–height ; |.
|
virtual |
Indicates that all radiuses are equal.
|
virtual |
Indicates that the corner is rounded.
IlvDim IlvRoundRectCorner::width | ( | ) | const |
Retrieves corner's dimension on X axis. .-" / ;==== <– width.