|
| | Rectangle (::Rectangle vec) |
| |
| | Rectangle (float X=0, float Y=0, float Width=0, float Height=0) |
| |
| bool | CheckCollision (::Rectangle rec2) const |
| |
| bool | CheckCollision (::Vector2 point) const |
| |
| 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) const |
| |
| float | GetHeight () const |
| |
| float | GetWidth () const |
| |
| float | GetX () const |
| |
| float | GetY () const |
| |
| Rectangle & | operator= (const ::Rectangle &rect) |
| |
| Rectangle & | operator= (const 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 | ) |
const |
|
inline |
◆ CheckCollision() [2/2]
| bool raylib::Rectangle::CheckCollision |
( |
::Vector2 |
point | ) |
const |
|
inline |
◆ Draw() [1/2]
◆ Draw() [2/2]
◆ DrawGradient()
◆ DrawGradientH()
◆ DrawGradientV()
◆ DrawLines()
◆ DrawLinesEx()
| Rectangle& raylib::Rectangle::DrawLinesEx |
( |
int |
lineThick, |
|
|
::Color |
color |
|
) |
| |
|
inline |
◆ DrawRounded()
| Rectangle& raylib::Rectangle::DrawRounded |
( |
float |
roundness, |
|
|
int |
segments, |
|
|
::Color |
color |
|
) |
| |
|
inline |
◆ DrawRoundedLines()
| Rectangle& raylib::Rectangle::DrawRoundedLines |
( |
float |
roundness, |
|
|
int |
segments, |
|
|
int |
lineThick, |
|
|
::Color |
color |
|
) |
| |
|
inline |
◆ GetCollision()
◆ GetHeight()
| float raylib::Rectangle::GetHeight |
( |
| ) |
const |
|
inline |
◆ GetWidth()
| float raylib::Rectangle::GetWidth |
( |
| ) |
const |
|
inline |
◆ GetX()
| float raylib::Rectangle::GetX |
( |
| ) |
const |
|
inline |
◆ GetY()
| float raylib::Rectangle::GetY |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set()
| void raylib::Rectangle::set |
( |
::Rectangle |
rect | ) |
|
|
inlineprotected |
◆ 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 |