summaryrefslogtreecommitdiffhomepage
path: root/dragon/outputs_docs.rb
diff options
context:
space:
mode:
author_Tradam <[email protected]>2021-12-16 19:22:26 -0500
committerGitHub <[email protected]>2021-12-16 19:22:26 -0500
commit5954b9beb4d4a3b4f248d72d1851195f030558a8 (patch)
treefecd8aa840a25afdb502915b0fdb4d03b7ed339a /dragon/outputs_docs.rb
parent2f845281f133849256b57bb08fd3e9ae57600784 (diff)
parenteaa29e72939f5edf61735ccbb73c36ee89369f65 (diff)
downloaddragonruby-game-toolkit-contrib-5954b9beb4d4a3b4f248d72d1851195f030558a8.tar.gz
dragonruby-game-toolkit-contrib-5954b9beb4d4a3b4f248d72d1851195f030558a8.zip
Merge branch 'DragonRuby:master' into masterHEADmaster
Diffstat (limited to 'dragon/outputs_docs.rb')
-rw-r--r--dragon/outputs_docs.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/dragon/outputs_docs.rb b/dragon/outputs_docs.rb
index cd4a20c..db15989 100644
--- a/dragon/outputs_docs.rb
+++ b/dragon/outputs_docs.rb
@@ -80,7 +80,7 @@ wide and 90 pixels tall.
** Rendering a solid using an Array with colors and alpha
-The value for the color and alpha is an number between ~0~ and ~255~. The
+The value for the color and alpha is a number between ~0~ and ~255~. The
alpha property is optional and will be set to ~255~ if not specified.
Creates a green solid rectangle with an opacity of 50%.
@@ -116,7 +116,7 @@ be provided in any order.
** Rendering a solid using a Class
You can also create a class with solid/border properties and render it as a primitive.
-ALL properties must on the class. *Additionally*, a method called ~primitive_marker~
+ALL properties must be on the class. *Additionally*, a method called ~primitive_marker~
must be defined on the class.
Here is an example:
@@ -150,7 +150,7 @@ Here is an example:
S
end
-
+
def docs_sprites
<<-S
* DOCS: ~GTK::Outputs#sprites~
@@ -171,7 +171,7 @@ wide and 90 pixels tall.
** Rendering a sprite using an Array with colors and alpha
-The value for the color and alpha is an number between ~0~ and ~255~. The
+The value for the color and alpha is a number between ~0~ and ~255~. The
alpha property is optional and will be set to ~255~ if not specified.
Creates a green circle sprite with an opacity of 50%.
@@ -209,7 +209,7 @@ be provided in any order.
** Rendering a solid using a Class
You can also create a class with solid/border properties and render it as a primitive.
-ALL properties must on the class. *Additionally*, a method called ~primitive_marker~
+ALL properties must be on the class. *Additionally*, a method called ~primitive_marker~
must be defined on the class.
Here is an example: