Search

December 01
Learn »
Missed adding color in the above example (Also added the alternate syntax using `with` statement...
November 30
Learn »
...het/Math.d#L2271

With a vector color:

```d
image2D(1, 2, RGB(0,0...
November 29
Learn »
...the screen
		ClearBackground(Colors.WHITE); 	// set background color to WHITE

		// draw "Hello, World!"
		DrawText("Hello...
October 18
Announce »
...dependencies!)
- PNG files now use an indexed color palette and maximum compression
- Deprecated save() in...
October 03
Announce »
...1,
borderStyle     = colorBorder(color("#444")),
backgroundColor = color("#000"),
when!"a.isHovered"(
    backgroundColor = color("#444"),
),
when...
September 09
Announce »
...int SDL_FillRect(SDL_Surface*, const(SDL_Rect)* rect, uint color);

    const(char)* SDL_GetError();
}
```
August 22
General »
...the experience very much, often bringing a color of their own just like another coloration...
August 15
General »
...them had sufficient error to change the color of the pixel. It's just that...
July 31
Learn »
...if(mtlbuf.startsWith("K" ~ vec[0])) // Ambient Color
                                            {
                                                ubyte j = 0;
                                                foreach(val; mtlbuf[2...
May 06
Learn »
...Flag;
alias Color = Flag;

void hello(Traditional traditional, Color color) {
    if (traditional && color) {
        writeln("\x1b...
« First   ‹ Prev
1 2
Next ›   Last »