#include <BFillStyle.h>

) is filled.
Public Member Functions | |
| BFillStyle (const BFillStyle &fs) | |
| Copy constructor. | |
| BFillStyle () | |
| Default constructor. | |
| virtual size_t | ComputeSize (void) const |
| Computes the size of the BByteArray required to store this object. | |
| virtual void | FromByteArray (const BByteArray &bytes, size_t &startPos) |
| Initializes an instance of this object from a BByteArray. | |
| BColor | GetBGColor (void) const |
| Gets the background color. | |
| BColor | GetFGColor (void) const |
| Gets the foreground color. | |
| EHatchType | GetHatch (void) const |
| Gets the hatch style type. | |
| EFillStyle | GetStyle (void) const |
| Gets the fill style type. | |
| void | SetBGColor (const BColor &color) |
| Sets the background color. | |
| void | SetFGColor (const BColor &color) |
| Sets the foreground color. | |
| void | SetHatch (EHatchType hatch) |
| Sets the hatch style type. | |
| void | SetStyle (EFillStyle style) |
| Sets the fill style type. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
| virtual | ~BFillStyle () |
| Destructor. | |
Static Public Member Functions | |
| static size_t | SizeOf (void) |
| Returns the size of a BFillStyle in bytes. | |
| BFillStyle | ( | ) | [inline] |
Default constructor.
| BFillStyle | ( | const BFillStyle & | fs | ) | [inline] |
| virtual ~BFillStyle | ( | ) | [inline, virtual] |
Destructor.
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Implements BByteStreamable.
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [inline, virtual] |
Initializes an instance of this object from a BByteArray.
| bytes | The BByteArray containing the byte representation for this object. | |
| startPos | The position in the BByteArray where the byte representation begins. This value will be updated to point to the byte past the end of this object in the byte array. |
Implements BByteStreamable.
| BColor GetBGColor | ( | void | ) | const [inline] |
Gets the background color.
| BColor GetFGColor | ( | void | ) | const [inline] |
Gets the foreground color.
| EHatchType GetHatch | ( | void | ) | const [inline] |
Gets the hatch style type.
| EFillStyle GetStyle | ( | void | ) | const [inline] |
Gets the fill style type.
| void SetBGColor | ( | const BColor & | color | ) | [inline] |
Sets the background color.
| color | The background color. |
| void SetFGColor | ( | const BColor & | color | ) | [inline] |
Sets the foreground color.
| color | The foreground color. |
| void SetHatch | ( | EHatchType | hatch | ) | [inline] |
Sets the hatch style type.
| hatch | The hatch style type. |
| void SetStyle | ( | EFillStyle | style | ) | [inline] |
Sets the fill style type.
| style | The fill style type. |
| static size_t SizeOf | ( | void | ) | [inline, static] |
| virtual BByteArray ToByteArray | ( | void | ) | const [inline, virtual] |
Stores this object in a BByteArray.
Implements BByteStreamable.