Permalink
Browse files

Updated readme to reflect direction property on linear gradient view

  • Loading branch information...
1 parent 0c3828d commit fb0fed9b9dbfa78728e4ae87c191ccd8cea2db7b James Kelso committed Jan 10, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 readme.md
View
@@ -46,12 +46,18 @@ Please note that the standard `backgroundColor` is used for `UIView`, but `backg
# KGNoiseLinearGradientView & KGNoiseRadialGradientView
-`KGNoiseLinearGradientView` and `KGNoiseRadialGradientView` inherit from `KGNoiseView` and draw a linear or radial gradient respectively. They provide one additional property to set the alternate background color to be used in the gradient.
+`KGNoiseLinearGradientView` and `KGNoiseRadialGradientView` inherit from `KGNoiseView` and draw a linear or radial gradient respectively. They provide a property to set the alternate background color to be used in the gradient.
```obj-c
@property (strong, nonatomic) NSColor/UIColor *alternateBackgroundColor;
```
+In addition, KGNoiseLinearGradientView provides a property to set gradient direction to 0, 90, 180, or 270 degrees.
+
+```obj-c
+@property (nonatomic) KGLinearGradientDirection gradientDirection;
+```
+
# KGNoiseExample
This project contains an example project that demonstrates how `KGNoiseView` could be used in a Mac or iOS app.

0 comments on commit fb0fed9

Please sign in to comment.