|
| | Rectangle (::Rectangle vec) |
| |
| | Rectangle (float X=0, float Y=0, float Width=0, float Height=0) |
| |
| bool | CheckCollision (::Rectangle rec2) |
| |
| bool | CheckCollision (::Vector2 point) |
| |
| Rectangle & | Draw (::Color color) |
| |
| Rectangle & | Draw (::Vector2 origin, float rotation, ::Color color) |
| |
| Rectangle & | DrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4) |
| |
| Rectangle & | DrawGradientH (::Color color1, ::Color color2) |
| |
| Rectangle & | DrawGradientV (::Color color1, ::Color color2) |
| |
| Rectangle & | DrawLines (::Color color) |
| |
| Rectangle & | DrawLinesEx (int lineThick, ::Color color) |
| |
| Rectangle & | DrawRounded (float roundness, int segments, ::Color color) |
| |
| Rectangle & | DrawRoundedLines (float roundness, int segments, int lineThick, ::Color color) |
| |
| Rectangle | GetCollision (::Rectangle rec2) |
| |
| float | GetHeight () |
| |
| float | GetWidth () |
| |
| float | GetX () |
| |
| float | GetY () |
| |
| Rectangle & | operator= (const ::Rectangle &rect) |
| |
| Rectangle & | operator= (const Rectangle &rect) |
| |
| void | set (::Rectangle rect) |
| |
| void | SetHeight (float value) |
| |
| void | SetWidth (float value) |
| |
| void | SetX (float value) |
| |
| void | SetY (float value) |
| |
Definition at line 16 of file Rectangle.hpp.
◆ Rectangle() [1/2]
| raylib::Rectangle::Rectangle |
( |
::Rectangle |
vec | ) |
|
|
inline |
◆ Rectangle() [2/2]
| raylib::Rectangle::Rectangle |
( |
float |
X = 0, |
|
|
float |
Y = 0, |
|
|
float |
Width = 0, |
|
|
float |
Height = 0 |
|
) |
| |
|
inline |
◆ CheckCollision() [1/2]
| bool raylib::Rectangle::CheckCollision |
( |
::Rectangle |
rec2 | ) |
|
|
inline |
Definition at line 88 of file Rectangle.hpp.
89 return ::CheckCollisionRecs(*
this, rec2);
◆ CheckCollision() [2/2]
| bool raylib::Rectangle::CheckCollision |
( |
::Vector2 |
point | ) |
|
|
inline |
Definition at line 94 of file Rectangle.hpp.
95 return ::CheckCollisionPointRec(point, *
this);
◆ Draw() [1/2]
Definition at line 50 of file Rectangle.hpp.
51 ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
◆ Draw() [2/2]
Definition at line 54 of file Rectangle.hpp.
55 ::DrawRectanglePro(*
this, origin, rotation, color);
◆ DrawGradient()
Definition at line 67 of file Rectangle.hpp.
68 ::DrawRectangleGradientEx(*
this, col1, col2, col3, col4);
◆ DrawGradientH()
Definition at line 63 of file Rectangle.hpp.
64 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
◆ DrawGradientV()
Definition at line 59 of file Rectangle.hpp.
60 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
◆ DrawLines()
Definition at line 71 of file Rectangle.hpp.
72 ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
◆ DrawLinesEx()
| Rectangle& raylib::Rectangle::DrawLinesEx |
( |
int |
lineThick, |
|
|
::Color |
color |
|
) |
| |
|
inline |
Definition at line 75 of file Rectangle.hpp.
76 ::DrawRectangleLinesEx(*
this, lineThick, color);
◆ DrawRounded()
| Rectangle& raylib::Rectangle::DrawRounded |
( |
float |
roundness, |
|
|
int |
segments, |
|
|
::Color |
color |
|
) |
| |
|
inline |
Definition at line 79 of file Rectangle.hpp.
80 ::DrawRectangleRounded(*
this, roundness, segments, color);
◆ DrawRoundedLines()
| Rectangle& raylib::Rectangle::DrawRoundedLines |
( |
float |
roundness, |
|
|
int |
segments, |
|
|
int |
lineThick, |
|
|
::Color |
color |
|
) |
| |
|
inline |
Definition at line 83 of file Rectangle.hpp.
84 ::DrawRectangleRoundedLines(*
this, roundness, segments, lineThick, color);
◆ GetCollision()
Definition at line 91 of file Rectangle.hpp.
92 return ::GetCollisionRec(*
this, rec2);
◆ GetHeight()
| float raylib::Rectangle::GetHeight |
( |
| ) |
|
|
inline |
◆ GetWidth()
| float raylib::Rectangle::GetWidth |
( |
| ) |
|
|
inline |
◆ GetX()
| float raylib::Rectangle::GetX |
( |
| ) |
|
|
inline |
◆ GetY()
| float raylib::Rectangle::GetY |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set()
| void raylib::Rectangle::set |
( |
::Rectangle |
rect | ) |
|
|
inline |
◆ SetHeight()
| void raylib::Rectangle::SetHeight |
( |
float |
value | ) |
|
|
inline |
◆ SetWidth()
| void raylib::Rectangle::SetWidth |
( |
float |
value | ) |
|
|
inline |
◆ SetX()
| void raylib::Rectangle::SetX |
( |
float |
value | ) |
|
|
inline |
◆ SetY()
| void raylib::Rectangle::SetY |
( |
float |
value | ) |
|
|
inline |