summaryrefslogtreecommitdiffhomepage
path: root/dragon/outputs_docs.rb
diff options
context:
space:
mode:
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: