Uppercase references to color constants in documentation

This commit is contained in:
Anthony Cossins 2023-01-13 22:48:44 +00:00
parent f0117a2c8d
commit ddab3976fe
3 changed files with 10 additions and 10 deletions

View file

@ -489,7 +489,7 @@
var img = Image.new()
img.create(img_width, img_height, false, Image.FORMAT_RGBA8)
img.set_pixel(1, 2, Color.red) # Sets the color at (1, 2) to red.
img.set_pixel(1, 2, Color.RED) # Sets the color at (1, 2) to red.
[/gdscript]
[csharp]
int imgWidth = 10;
@ -517,7 +517,7 @@
var img = Image.new()
img.create(img_width, img_height, false, Image.FORMAT_RGBA8)
img.set_pixelv(Vector2i(1, 2), Color.red) # Sets the color at (1, 2) to red.
img.set_pixelv(Vector2i(1, 2), Color.RED) # Sets the color at (1, 2) to red.
[/gdscript]
[csharp]
int imgWidth = 10;