#include <GenericRenderer.hpp>
Public Types | |
typedef CSS::BorderStyle::Style | BorderStyle |
The border style. | |
Public Member Functions | |
void | checkLength () |
Check the length value. | |
int32 | getAsPixels (const uint32 iteration) const |
Get as pixels. | |
const Colour & | getColour () const |
Get the color. | |
BorderStyle | getStyle () const |
Get the border style. | |
bool | isAuto () const |
Is the length defined as auto ? | |
bool | isVisible () const |
Is the border visible. | |
void | setStyle (const BorderStyle _style) |
Set the border style. | |
void | setValue (const int32 value, const uint32 iteration) const |
Set the value. | |
Side (Length *len=0, const BorderStyle _style=CSS::BorderStyle::None, const Colour &colour=CSS::Colours::Black) | |
The constructor. | |
~Side () | |
The destructor. | |
Friends | |
class | HTML::Renderer::Box |
The border style.
HTML::Renderer::Box::Border::Side::Side | ( | Length * | len = 0 , |
|
const BorderStyle | _style = CSS::BorderStyle::None , |
|||
const Colour & | colour = CSS::Colours::Black | |||
) | [inline] |
The constructor.
HTML::Renderer::Box::Border::Side::~Side | ( | ) | [inline] |
The destructor.
void HTML::Renderer::Box::Border::Side::checkLength | ( | ) | [inline] |
Check the length value.
int32 HTML::Renderer::Box::Border::Side::getAsPixels | ( | const uint32 | iteration | ) | const [inline] |
Get as pixels.
const Colour& HTML::Renderer::Box::Border::Side::getColour | ( | ) | const [inline] |
Get the color.
BorderStyle HTML::Renderer::Box::Border::Side::getStyle | ( | ) | const [inline] |
Get the border style.
bool HTML::Renderer::Box::Border::Side::isAuto | ( | ) | const [inline] |
Is the length defined as auto ?
bool HTML::Renderer::Box::Border::Side::isVisible | ( | ) | const [inline] |
Is the border visible.
void HTML::Renderer::Box::Border::Side::setStyle | ( | const BorderStyle | _style | ) | [inline] |
Set the border style.
void HTML::Renderer::Box::Border::Side::setValue | ( | const int32 | value, | |
const uint32 | iteration | |||
) | const [inline] |
Set the value.
friend class HTML::Renderer::Box [friend] |