Difference between revisions of "Gradient Filler"

From Free Pascal wiki
Jump to navigationJump to search
(category)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Usage ==
+
== Downloads ==
 +
 
 +
=== Dual color gradients Filler (several directions) ===
 +
 
 +
The component in this demo generates dual-color gradients in different styles (circular, diagonal etc.).
 +
The idea for this component comes from a Delphi freeware component TGradient at http://www.delphiarea.com/downloads, written by Kambiz R. Khojasteh.
 +
 
 +
[[Image:gdfllr.png]]
  
<delphi>// Gradientfiller for the form background 
+
[http://www.multiupload.com/HFRA7N02RC Gradients Filler] GradientsFiller.zip (92.82 KB)
//It's a 50/50 scale so both gradients meet in the middle. 
 
gfPaint := TGradientFiller.Create(gdHorizontal); 
 
gfPaint.AddGradient(clYellow, clBlue, gdHorizontal, 50); 
 
gfPaint.AddGradient(clBlue, clGreen, gdHorizontal, 50); 
 
//..
 
// Form paint: 
 
gfPaint.Draw(self.Canvas, self.ClientRect);</delphi>
 
  
== Screenshots ==
+
[http://lazarus.freepascal.org/index.php?action=dlattach;topic=12145.0;attach=1685 Gradients Filler] GradientsFiller.zip (92.82 KB) forum attach
 +
 
 +
 
 +
=== Multi-color gradient Filler (horizontally and vertically) ===
 +
 
 +
The gradient component in this demo gives the possibility to generate multi-color horizontal and vertical gradients.
  
 
[[Image:oogd.png]]
 
[[Image:oogd.png]]
  
== Downloads ==
+
[http://www.multiupload.com/U620ZLCKY7 Gradient Filler 1.0] OOGradient.zip (6.13 KB)
 +
 
 +
[http://lazarus.freepascal.org/index.php?action=dlattach;topic=12145.0;attach=1637 Gradient Filler 1.0] OOGradient.zip (6.13 KB) forum attach
  
[http://www.multiupload.com/U620ZLCKY7 Gradient Filler 1.0] OOGradient.zip (6.13 KB)
+
[[Category:Components]]
 +
[[Category:Graphics]]

Latest revision as of 08:54, 17 March 2011

Downloads

Dual color gradients Filler (several directions)

The component in this demo generates dual-color gradients in different styles (circular, diagonal etc.). The idea for this component comes from a Delphi freeware component TGradient at http://www.delphiarea.com/downloads, written by Kambiz R. Khojasteh.

gdfllr.png

Gradients Filler GradientsFiller.zip (92.82 KB)

Gradients Filler GradientsFiller.zip (92.82 KB) forum attach


Multi-color gradient Filler (horizontally and vertically)

The gradient component in this demo gives the possibility to generate multi-color horizontal and vertical gradients.

oogd.png

Gradient Filler 1.0 OOGradient.zip (6.13 KB)

Gradient Filler 1.0 OOGradient.zip (6.13 KB) forum attach