From cdfc7251bde8347678d355e5fe65fc20e120bc23 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 21:45:19 +0900 Subject: updating docs for 1.0.10a release --- doc/Axlsx/Color.html | 128 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 75 insertions(+), 53 deletions(-) (limited to 'doc/Axlsx/Color.html') diff --git a/doc/Axlsx/Color.html b/doc/Axlsx/Color.html index 36a08186..b37d18ba 100644 --- a/doc/Axlsx/Color.html +++ b/doc/Axlsx/Color.html @@ -94,8 +94,9 @@

Overview

- -

The color class represents a color used for borders, fills an fonts

+

+The color class represents a color used for borders, fills an fonts +

@@ -127,8 +128,9 @@ -
-

Determines if the color is system color dependant.

+

+Determines if the color is system color dependant. +

@@ -153,8 +155,9 @@ -
-

The color as defined in rgb terms.

+

+The color as defined in rgb terms. +

@@ -179,8 +182,9 @@ -
-

The tint value.

+

+The tint value. +

@@ -217,8 +221,9 @@ -
-

Creates a new Color object.

+

+Creates a new Color object. +

@@ -240,8 +245,9 @@ -
-

Serializes the color.

+

+Serializes the color. +

@@ -262,8 +268,9 @@

- -

Creates a new Color object

+

+Creates a new Color object +

@@ -284,8 +291,9 @@ — -
-

a customizable set of options

+

+a customizable set of options +

@@ -345,12 +353,13 @@
# File 'lib/axlsx/stylesheet/color.rb', line 34
 
-def initialize(options={})
-  @rgb = "FF000000"
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? o[0]
-  end
-end
+def initialize(options={}) + @rgb = "FF000000" + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end +end + @@ -373,8 +382,9 @@

- -

Determines if the color is system color dependant

+

+Determines if the color is system color dependant +

@@ -408,9 +418,10 @@
# File 'lib/axlsx/stylesheet/color.rb', line 6
 
-def auto
-  @auto
-end
+def auto + @auto +end + @@ -431,14 +442,16 @@
Note: -
-

rgb colors need to conform to ST_UnsignedIntHex. That basically means put -'FF' before you color

+

+rgb colors need to conform to ST_UnsignedIntHex. That basically means put +‘FF’ before you color +

- -

The color as defined in rgb terms.

+

+The color as defined in rgb terms. +

@@ -448,11 +461,13 @@

Examples:

-

-

rgb colors

+

+rgb colors +

-
"FF000000" is black
-"FFFFFFFF" is white
+
"FF000000" is black
+"FFFFFFFF" is white
+
@@ -483,9 +498,10 @@
# File 'lib/axlsx/stylesheet/color.rb', line 19
 
-def rgb
-  @rgb
-end
+def rgb + @rgb +end + @@ -506,13 +522,15 @@
Note: -
-

valid values are between -1.0 and 1.0

+

+valid values are between -1.0 and 1.0 +

- -

The tint value.

+

+The tint value. +

@@ -546,9 +564,10 @@
# File 'lib/axlsx/stylesheet/color.rb', line 28
 
-def tint
-  @tint
-end
+def tint + @tint +end + @@ -570,8 +589,9 @@

- -

Serializes the color

+

+Serializes the color +

@@ -590,8 +610,9 @@ — -
-

The document builder instance this objects xml will be added to.

+

+The document builder instance this objects xml will be added to. +

@@ -623,7 +644,8 @@
# File 'lib/axlsx/stylesheet/color.rb', line 57
 
-def to_xml(xml) xml.color(self.instance_values) end
+def to_xml(xml) xml.color(self.instance_values) end + @@ -634,9 +656,9 @@
-- cgit v1.2.3