#include <tb_line.h>
Public Member Functions | |
| LineContainer (void) | |
| LineContainer (const LineContainer &other) | |
| virtual | ~LineContainer (void) |
| virtual void | SetColor (const tbGraphics::Color &newColor) override |
Public Member Functions inherited from TurtleBrains::Graphics::Graphic | |
| Graphic (void) | |
| Graphic (const Graphic &other) | |
| virtual | ~Graphic (void) |
| bool | IsActive (void) const |
| void | SetActive (const bool isActive) |
| void | Update (const float deltaTime) |
| bool | IsVisible (void) const |
| void | SetVisible (const bool isVisible) |
| void | Render (void) const |
| const tbMath::Vector2 & | GetPosition (void) const |
| void | SetPosition (const float x, const float y) |
| void | SetPosition (const tbMath::Vector2 &position) |
| void | SetOrigin (const AnchorLocation &anchor) |
| void | SetOrigin (const float originX, const float originY) |
| float | GetDepth (void) const |
| void | SetDepth (const float newDepth) |
| void | SetScale (const float scale) |
| void | SetScale (const float scaleX, const float scaleY) |
| void | SetRotation (const float rotation) |
| float | GetRotation (void) const |
| void | SetScroll (const float scroll) |
| void | SetScroll (const float scrollX, const float scrollY) |
| bool | IsRelative (void) const |
| virtual PixelSpace | GetPixelWidth (void) const |
| virtual PixelSpace | GetPixelHeight (void) const |
| float | GetWidth (void) const |
| float | GetHeight (void) const |
Protected Member Functions | |
| virtual void | OnRender (void) const override |
| void | ClearVertices (void) |
| void | AddVertex (const tbMath::Vector2 &position) |
Protected Member Functions inherited from TurtleBrains::Graphics::Graphic | |
| virtual void | OnUpdate (const float deltaTime) |
| const Color & | GetColor (void) const |
| virtual void | ApplyTransform (void) const |
| virtual void | PopTransform (void) const |
Friends | |
| class | tbGraphics::OutlinedPolygonShape |
TODO: TIM: Documentation: Teach the user how to use this.
| TurtleBrains::Graphics::LineContainer::LineContainer | ( | void | ) |
TODO: TIM: Documentation: Teach the user how to use this.
| TurtleBrains::Graphics::LineContainer::LineContainer | ( | const LineContainer & | other | ) |
TODO: TIM: Documentation: Teach the user how to use this.
|
virtual |
TODO: TIM: Documentation: Teach the user how to use this.
|
protected |
TODO: TIM: Documentation: Teach the user how to use this.
|
protected |
TODO: TIM: Documentation: Teach the user how to use this.
|
overrideprotectedvirtual |
TODO: TIM: Documentation: Teach the user how to use this.
Implements TurtleBrains::Graphics::Graphic.
|
overridevirtual |
Change the color of the sprite so it can fade in/out with alpha, or modify the color for other effects.
Reimplemented from TurtleBrains::Graphics::Graphic.