Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Friends
IlvRoundRectCorner Class Reference

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
 

Detailed Description

Geometric class.

Library: xviews or winviews or mviews (mutually exclusive)

IlvRoundRectCorner is a corner of IlvRoundRect.

Constructor & Destructor Documentation

◆ IlvRoundRectCorner() [1/3]

IlvRoundRectCorner::IlvRoundRectCorner ( IlvDim  radius = 0)

Constructor.

This constructor initializes a new corner of IlvRoundRect.

Parameters
radiusCorner's width and height

◆ IlvRoundRectCorner() [2/3]

IlvRoundRectCorner::IlvRoundRectCorner ( IlvDim  width,
IlvDim  height 
)

Constructor.

This constructor initializes a new corner of IlvRoundRect.

Parameters
widthCorner's width
heightCorner's height

◆ IlvRoundRectCorner() [3/3]

IlvRoundRectCorner::IlvRoundRectCorner ( IlvDim2D  dimensions)

Constructor.

This constructor initializes a new corner of IlvRoundRect.

Parameters
dimensions

Member Function Documentation

◆ height()

IlvDim IlvRoundRectCorner::height ( ) const

Retrieves corner's dimension on Y axis. .-" / | <–height ; |.

Returns
The height.

◆ isEvenlyRounded()

virtual IlvBoolean IlvRoundRectCorner::isEvenlyRounded ( ) const
virtual

Indicates that all radiuses are equal.

Returns
True if all radiuses are equal.

◆ isRounded()

virtual IlvBoolean IlvRoundRectCorner::isRounded ( ) const
virtual

Indicates that the corner is rounded.

Returns
False if width and height are equal to zero.

◆ width()

IlvDim IlvRoundRectCorner::width ( ) const

Retrieves corner's dimension on X axis. .-" / ;==== <– width.

Returns
The width.