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/GradientFill.html | 196 ++++++++++++++++++++++++++------------------ 1 file changed, 114 insertions(+), 82 deletions(-) (limited to 'doc/Axlsx/GradientFill.html') diff --git a/doc/Axlsx/GradientFill.html b/doc/Axlsx/GradientFill.html index 89990a4d..9315c460 100644 --- a/doc/Axlsx/GradientFill.html +++ b/doc/Axlsx/GradientFill.html @@ -94,8 +94,9 @@

Overview

- -

A GradientFill defines the color and positioning for gradiant cell fill.

+

+A GradientFill defines the color and positioning for gradiant cell fill. +

@@ -134,8 +135,9 @@ -
-

Percentage format bottom.

+

+Percentage format bottom. +

@@ -160,8 +162,9 @@ -
-

Angle of the linear gradient.

+

+Angle of the linear gradient. +

@@ -186,8 +189,9 @@ -
-

Percentage format left.

+

+Percentage format left. +

@@ -212,8 +216,9 @@ -
-

Percentage format right.

+

+Percentage format right. +

@@ -238,8 +243,9 @@ -
-

Collection of stop objects.

+

+Collection of stop objects. +

@@ -264,8 +270,9 @@ -
-

Percentage format top.

+

+Percentage format top. +

@@ -290,8 +297,9 @@ -
-

The type of gradient.

+

+The type of gradient. +

@@ -328,8 +336,9 @@ -
-

Creates a new GradientFill object.

+

+Creates a new GradientFill object. +

@@ -351,8 +360,9 @@ -
-

Serializes the gradientFill.

+

+Serializes the gradientFill. +

@@ -373,8 +383,9 @@

- -

Creates a new GradientFill object

+

+Creates a new GradientFill object +

@@ -395,8 +406,9 @@ — -
-

a customizable set of options

+

+a customizable set of options +

@@ -484,13 +496,14 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 46
 
-def initialize(options={})
-  options[:type] ||= :linear
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? o[0]
-  end
-  @stop = SimpleTypedList.new GradientStop
-end
+def initialize(options={}) + options[:type] ||= :linear + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] + end + @stop = SimpleTypedList.new GradientStop +end + @@ -513,8 +526,9 @@

- -

Percentage format bottom

+

+Percentage format bottom +

@@ -548,9 +562,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 33
 
-def bottom
-  @bottom
-end
+def bottom + @bottom +end + @@ -568,8 +583,9 @@

- -

Angle of the linear gradient

+

+Angle of the linear gradient +

@@ -603,9 +619,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 17
 
-def degree
-  @degree
-end
+def degree + @degree +end + @@ -623,8 +640,9 @@

- -

Percentage format left

+

+Percentage format left +

@@ -658,9 +676,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 21
 
-def left
-  @left
-end
+def left + @left +end + @@ -678,8 +697,9 @@

- -

Percentage format right

+

+Percentage format right +

@@ -713,9 +733,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 25
 
-def right
-  @right
-end
+def right + @right +end + @@ -733,8 +754,9 @@

- -

Collection of stop objects

+

+Collection of stop objects +

@@ -768,9 +790,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 37
 
-def stop
-  @stop
-end
+def stop + @stop +end + @@ -788,8 +811,9 @@

- -

Percentage format top

+

+Percentage format top +

@@ -823,9 +847,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 29
 
-def top
-  @top
-end
+def top + @top +end + @@ -846,16 +871,19 @@
Note: -
-

valid options are

- -
:linear
-:path
+

+valid options are +

+
+ :linear
+ :path
+
- -

The type of gradient.

+

+The type of gradient. +

@@ -889,9 +917,10 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 13
 
-def type
-  @type
-end
+def type + @type +end + @@ -913,8 +942,9 @@

- -

Serializes the gradientFill

+

+Serializes the gradientFill +

@@ -933,8 +963,9 @@ — -
-

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

+

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

@@ -970,11 +1001,12 @@
# File 'lib/axlsx/stylesheet/gradient_fill.rb', line 70
 
-def to_xml(xml)
-  xml.gradientFill(self.instance_values.reject { |k,v| k.to_sym == :stop }) {
-    @stop.each { |s| s.to_xml(xml) }
-  }
-end
+def to_xml(xml) + xml.gradientFill(self.instance_values.reject { |k,v| k.to_sym == :stop }) { + @stop.each { |s| s.to_xml(xml) } + } +end + @@ -985,9 +1017,9 @@
-- cgit v1.2.3