reng ~master (2022-11-13T10:09:03Z)
Dub
Repo
ColorRect
re
gfx
shapes
rect
a color-filled rectangle
class
ColorRect : Component, Renderable2D {
mixin
Reflect
;
Vector2
size
;
Color
color
;
this
(Vector2 size, raylib.Color color, bool fill);
Rectangle
bounds
[@property getter];
void
render
();
void
debug_render
();
}
Constructors
this
this
(Vector2 size, raylib.Color color, bool fill)
Undocumented in source.
Members
Functions
debug_render
void
debug_render
()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void
render
()
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
Reflect
Undocumented in source.
Properties
bounds
Rectangle
bounds
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
color
Color
color
;
fill color
size
Vector2
size
;
rectangle dimensions
Meta
Source
See Implementation
re
gfx
shapes
rect
classes
ColorRect
a color-filled rectangle