#include <wx/richtext/richtextbuffer.h>
A class representing a rich text object border.
- See also
- wxRichTextAttr, wxRichTextCtrl, wxRichTextAttrBorders
◆ wxTextAttrBorder()
wxTextAttrBorder::wxTextAttrBorder |
( |
| ) |
|
|
inline |
◆ AddFlag()
void wxTextAttrBorder::AddFlag |
( |
int | flag | ) |
|
|
inline |
◆ Apply()
Applies the border to this object, but not if the same as compareWith.
◆ CollectCommonAttributes()
Collects the attributes that are common to a range of content, building up a note of which attributes are absent in some objects and which clash in some objects.
◆ EqPartial()
bool wxTextAttrBorder::EqPartial |
( |
const wxTextAttrBorder & | border, |
|
|
bool | weakTest = true ) const |
Partial equality test.
If weakTest is true , attributes of this object do not have to be present if those attributes of border are present. If weakTest is false , the function will fail if an attribute is present in border but not in this object.
◆ GetColour()
wxColour wxTextAttrBorder::GetColour |
( |
| ) |
const |
|
inline |
◆ GetColourLong()
unsigned long wxTextAttrBorder::GetColourLong |
( |
| ) |
const |
|
inline |
Gets the colour as a long.
◆ GetFlags()
int wxTextAttrBorder::GetFlags |
( |
| ) |
const |
|
inline |
Returns the border flags.
◆ GetStyle()
int wxTextAttrBorder::GetStyle |
( |
| ) |
const |
|
inline |
◆ GetWidth() [1/2]
◆ GetWidth() [2/2]
◆ HasColour()
bool wxTextAttrBorder::HasColour |
( |
| ) |
const |
|
inline |
True if the border has a valid colour.
◆ HasStyle()
bool wxTextAttrBorder::HasStyle |
( |
| ) |
const |
|
inline |
True if the border has a valid style.
◆ HasWidth()
bool wxTextAttrBorder::HasWidth |
( |
| ) |
const |
|
inline |
True if the border has a valid width.
◆ IsDefault()
bool wxTextAttrBorder::IsDefault |
( |
| ) |
const |
|
inline |
True if the border has no attributes set.
◆ IsValid()
bool wxTextAttrBorder::IsValid |
( |
| ) |
const |
|
inline |
True if the border is valid.
◆ MakeValid()
void wxTextAttrBorder::MakeValid |
( |
| ) |
|
|
inline |
Set the valid flag for this border.
◆ operator==()
◆ RemoveFlag()
void wxTextAttrBorder::RemoveFlag |
( |
int | flag | ) |
|
|
inline |
◆ RemoveStyle()
Removes the specified attributes from this object.
◆ Reset()
void wxTextAttrBorder::Reset |
( |
| ) |
|
|
inline |
Resets the border style, colour, width and flags.
◆ SetColour() [1/2]
void wxTextAttrBorder::SetColour |
( |
const wxColour & | colour | ) |
|
|
inline |
◆ SetColour() [2/2]
void wxTextAttrBorder::SetColour |
( |
unsigned long | colour | ) |
|
|
inline |
◆ SetFlags()
void wxTextAttrBorder::SetFlags |
( |
int | flags | ) |
|
|
inline |
◆ SetStyle()
void wxTextAttrBorder::SetStyle |
( |
int | style | ) |
|
|
inline |
◆ SetWidth() [1/2]
◆ SetWidth() [2/2]
◆ m_borderColour
unsigned long wxTextAttrBorder::m_borderColour |
◆ m_borderStyle
int wxTextAttrBorder::m_borderStyle |
◆ m_borderWidth
◆ m_flags
int wxTextAttrBorder::m_flags |